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

Unified Diff: tests/corelib/iterable_contains_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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
Index: tests/corelib/iterable_contains_test.dart
diff --git a/tests/corelib/iterable_contains_test.dart b/tests/corelib/iterable_contains_test.dart
index bfb7038eb01736911a7807ab56d2127799a6806d..052298e40a1c98166502c51947ba1f120e6276f3 100644
--- a/tests/corelib/iterable_contains_test.dart
+++ b/tests/corelib/iterable_contains_test.dart
@@ -14,6 +14,7 @@ test(list, notInList) {
}
Expect.isFalse(list.contains(notInList), "!$list.contains($notInList)");
}
+
List fixedList = new List(list.length);
List growList = new List();
for (int i = 0; i < list.length; i++) {
@@ -30,7 +31,7 @@ class C {
}
class Niet {
- bool operator==(other) => false;
+ bool operator ==(other) => false;
}
main() {
@@ -39,7 +40,7 @@ main() {
test(const <bool>[true, false], null);
test(const <C>[const C(), const C(), null], new C());
test(<C>[new C(), new C(), new C(), null], new C());
- test(const <double>[ 0.0, 1.0, 5e-324, 1e+308, double.INFINITY ], 2.0);
+ test(const <double>[0.0, 1.0, 5e-324, 1e+308, double.INFINITY], 2.0);
Expect.isTrue(const <double>[-0.0].contains(0.0));
Expect.isFalse(const <double>[double.NAN].contains(double.NAN));
var niet = new Niet();

Powered by Google App Engine
This is Rietveld 408576698