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

Unified Diff: test/iterable_zip_test.dart

Issue 1638163002: Modernize the package's style. (Closed) Base URL: git@github.com:dart-lang/collection@master
Patch Set: Code review changes Created 4 years, 11 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 | « pubspec.yaml ('k') | test/priority_queue_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/iterable_zip_test.dart
diff --git a/test/iterable_zip_test.dart b/test/iterable_zip_test.dart
index cc8ac76f03685d3b307add6266dc0c77b14a9fb6..067917176644b988bcb7a425ca2282a365419325 100644
--- a/test/iterable_zip_test.dart
+++ b/test/iterable_zip_test.dart
@@ -3,9 +3,11 @@
// BSD-style license that can be found in the LICENSE file.
import "dart:collection";
-import "package:collection/iterable_zip.dart";
+
import "package:test/test.dart";
+import "package:collection/collection.dart";
+
/// Iterable like [base] except that it throws when value equals [errorValue].
Iterable iterError(Iterable base, int errorValue) {
return base.map((x) => x == errorValue ? throw "BAD" : x);
« no previous file with comments | « pubspec.yaml ('k') | test/priority_queue_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698