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

Unified Diff: tests/language/core_type_check_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/language/core_type_check_test.dart
diff --git a/tests/language/core_type_check_test.dart b/tests/language/core_type_check_test.dart
index 495011e5712466d0c633bc35d0c2c02aa4e4100c..e20d8cb354b269479d96ab9caf5d139d5daa4318 100644
--- a/tests/language/core_type_check_test.dart
+++ b/tests/language/core_type_check_test.dart
@@ -15,8 +15,7 @@ class A implements Comparable {
int compareTo(o) => 0;
}
-class B {
-}
+class B {}
class C implements Pattern {
matchAsPrefix(String s, [int start = 0]) => null;
@@ -30,8 +29,17 @@ class D implements Pattern, Comparable {
}
main() {
- var things = [[], 4, 4.2, 'foo', new Object(), new A(), new B(),
- new C(), new D()];
+ var things = [
+ [],
+ 4,
+ 4.2,
+ 'foo',
+ new Object(),
+ new A(),
+ new B(),
+ new C(),
+ new D()
+ ];
check(things[inscrutable(0)], false, false); // List
check(things[inscrutable(1)], true, false); // int

Powered by Google App Engine
This is Rietveld 408576698