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

Unified Diff: tests/language/sync_generator2_test.dart

Issue 2774783002: Re-land "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/sync_generator1_test.dart ('k') | tests/language/sync_generator3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
-}
+}
« no previous file with comments | « tests/language/sync_generator1_test.dart ('k') | tests/language/sync_generator3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698