Index: tests/language_strong/function_type_alias6_test.dart |
diff --git a/tests/language_strong/function_type_alias6_test.dart b/tests/language_strong/function_type_alias6_test.dart |
index cc7c9c1002316bbcadd79b0909779e22382a0d9d..1efc22d4e45cd6bdb9512623266b06498b45b03b 100644 |
--- a/tests/language_strong/function_type_alias6_test.dart |
+++ b/tests/language_strong/function_type_alias6_test.dart |
@@ -5,24 +5,23 @@ |
import "package:expect/expect.dart"; |
-typedef F( |
- List |
+typedef F(List |
<F> // //# 00: compile-time error |
- x); |
+ x); |
typedef D C(); |
class D { |
- C foo() {} |
- D bar() {} |
+ C foo() { } |
+ D bar() { } |
} |
main() { |
- var f = (List x) {}; |
+ var f = (List x) { }; |
Expect.isTrue(f is F); |
- var g = (List<F> x) {}; |
+ var g = (List<F> x) { }; |
Expect.isTrue(g is F); |
var d = new D(); |
- Expect.isTrue(d.foo is! C); |
+ Expect.isTrue(d.foo is !C); |
Expect.isTrue(d.bar is C); |
} |