Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit eee18d1

Browse files
authored
Fix doc comment in test (#101)
1 parent 994191a commit eee18d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/list_test.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,9 @@ void main() {
320320
typedef ListFn = FutureOr<List<String>> Function(String glob,
321321
{bool recursive, bool followLinks, bool? caseSensitive});
322322

323-
/// Runs [callback] in two groups with two values of [listFn]: one that uses
323+
/// Runs [callback] in two groups with two values of [ListFn]: one that uses
324324
/// `Glob.list`, one that uses `Glob.listSync`.
325-
void syncAndAsync(FutureOr Function(ListFn) callback) {
325+
void syncAndAsync(FutureOr<void> Function(ListFn) callback) {
326326
group('async', () {
327327
callback((pattern, {recursive = false, followLinks = true, caseSensitive}) {
328328
var glob =

0 commit comments

Comments
 (0)