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

Commit 536e59d

Browse files
committed
Declare the package strong-mode clean.
[email protected] Review URL: https://codereview.chromium.org//1955433002 .
1 parent 3827325 commit 536e59d

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.analysis_options

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
analyzer:
2+
strong-mode: true

test/utils_test.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,3 @@ main() {
4545
});
4646
});
4747
}
48-
49-
_linearSearch(list, predicate) {
50-
if (list.length == 0) return -1;
51-
for (int i = 0; i < list.length; i++) {
52-
if (predicate(list[i])) return i;
53-
}
54-
return list.length;
55-
}

0 commit comments

Comments
 (0)