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

Unified Diff: tests/language/sync_generator2_test.dart

Issue 2768073002: 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/sync_generator2_test.dart
diff --git a/tests/language/sync_generator2_test.dart b/tests/language/sync_generator2_test.dart
index f4241b3419074352c57443c2ed205d01e2c49c50..2dbf808c6874307c0e30d9855ece31957ae78f96 100644
--- a/tests/language/sync_generator2_test.dart
+++ b/tests/language/sync_generator2_test.dart
@@ -42,11 +42,11 @@ set test04(a) sync* { print(a); } // //# 41: compile-time error
class K {
K() sync* {}; // //# 50: compile-time error
- get nix sync* { }
+ get nix sync* {}
get garnix sync* => null; // //# 51: compile-time error
set etwas(var z) sync* { } // //# 52: compile-time error
sync() sync* {
- yield sync; // Yields a tear-off of the sync() method.
+ yield sync; // Yields a tear-off of the sync() method.
}
}
@@ -65,4 +65,4 @@ main() {
print(x.sync().toList());
Expect.equals(1, x.sync().length);
// Expect.isTrue(x.sync().single is Function);
-}
+}

Powered by Google App Engine
This is Rietveld 408576698