Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1092)

Unified Diff: test/utils_test.dart

Issue 1955433002: Declare the package strong-mode clean. (Closed) Base URL: git@github.com:dart-lang/source_span@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .analysis_options ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/utils_test.dart
diff --git a/test/utils_test.dart b/test/utils_test.dart
index 5d973f58acf29578617cec0f40529602ecef0e1c..2a86cc070f77654450ca504fb779545eb9c4b996 100644
--- a/test/utils_test.dart
+++ b/test/utils_test.dart
@@ -45,11 +45,3 @@ main() {
});
});
}
-
-_linearSearch(list, predicate) {
- if (list.length == 0) return -1;
- for (int i = 0; i < list.length; i++) {
- if (predicate(list[i])) return i;
- }
- return list.length;
-}
« no previous file with comments | « .analysis_options ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698