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

Unified Diff: tests/language_strong/sync_generator1_test.dart

Issue 2765693002: Update all tests (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/sync_generator1_test.dart
diff --git a/tests/language_strong/sync_generator1_test.dart b/tests/language_strong/sync_generator1_test.dart
index 6c2b7d701ebc1142551a2b8b80aafafab5546663..9d517e988b8a0ca7ee9f518978d4a1f592ddd843 100644
--- a/tests/language_strong/sync_generator1_test.dart
+++ b/tests/language_strong/sync_generator1_test.dart
@@ -44,7 +44,7 @@ einsZwei() sync* {
dreiVier() sync* {
// Throws type error: yielded object is not an iterable.
- yield* 3; /// 01: static type warning
+ yield* 3; //# 01: static type warning
}
main() {
@@ -80,6 +80,6 @@ main() {
print(einsZwei());
Expect.equals("(1, 2, 3, 5, [6])", einsZwei().toString());
- Expect.throws(() => dreiVier().toString()); /// 01: continued
+ Expect.throws(() => dreiVier().toString()); //# 01: continued
}
}

Powered by Google App Engine
This is Rietveld 408576698