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

Unified Diff: tests/language/async_or_generator_return_type_stacktrace_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of 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/async_continue_label_test.dart ('k') | tests/language/async_return_types_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/async_or_generator_return_type_stacktrace_test.dart
diff --git a/tests/language/async_or_generator_return_type_stacktrace_test.dart b/tests/language/async_or_generator_return_type_stacktrace_test.dart
index 8f8dc4b34d25f4e2af5e06ae1d05197173ff82bc..9326d89e2b330f86e2714a75445bed65ac7b917e 100644
--- a/tests/language/async_or_generator_return_type_stacktrace_test.dart
+++ b/tests/language/async_or_generator_return_type_stacktrace_test.dart
@@ -4,13 +4,13 @@
import "package:expect/expect.dart";
-void badReturnTypeAsync() async {} // /// 01: static type warning
-void badReturnTypeAsyncStar() async* {} // /// 02: static type warning
-void badReturnTypeSyncStar() sync* {} // /// 03: static type warning
+void badReturnTypeAsync() async {} // //# 01: static type warning
+void badReturnTypeAsyncStar() async* {} // //# 02: static type warning
+void badReturnTypeSyncStar() sync* {} // //# 03: static type warning
main() {
try {
- badReturnTypeAsync(); // /// 01: continued
+ badReturnTypeAsync(); // //# 01: continued
} catch(e, st) {
Expect.isTrue(e is TypeError, "wrong exception type");
Expect.isTrue(st.toString().contains("badReturnTypeAsync"),
@@ -18,7 +18,7 @@ main() {
}
try {
- badReturnTypeAsyncStar(); // /// 02: continued
+ badReturnTypeAsyncStar(); // //# 02: continued
} catch(e, st) {
Expect.isTrue(e is TypeError, "wrong exception type");
Expect.isTrue(st.toString().contains("badReturnTypeAsyncStar"),
@@ -26,7 +26,7 @@ main() {
}
try {
- badReturnTypeSyncStar(); // /// 03: continued
+ badReturnTypeSyncStar(); // //# 03: continued
} catch(e, st) {
Expect.isTrue(e is TypeError, "wrong exception type");
Expect.isTrue(st.toString().contains("badReturnTypeSyncStar"),
« no previous file with comments | « tests/language/async_continue_label_test.dart ('k') | tests/language/async_return_types_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698