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

Unified Diff: tests/language/function_type_alias6_test.dart

Issue 2770063002: Revert "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 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 | « tests/language/function_syntax_test.dart ('k') | tests/language/function_type_alias7_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/function_type_alias6_test.dart
diff --git a/tests/language/function_type_alias6_test.dart b/tests/language/function_type_alias6_test.dart
index cc7c9c1002316bbcadd79b0909779e22382a0d9d..1efc22d4e45cd6bdb9512623266b06498b45b03b 100644
--- a/tests/language/function_type_alias6_test.dart
+++ b/tests/language/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);
}
« no previous file with comments | « tests/language/function_syntax_test.dart ('k') | tests/language/function_type_alias7_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698