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

Unified Diff: tests/language_strong/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
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);
}
« no previous file with comments | « tests/language_strong/function_syntax_test.dart ('k') | tests/language_strong/function_type_alias7_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698