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

Unified Diff: tests/language_strong/await_backwards_compatibility_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
Index: tests/language_strong/await_backwards_compatibility_test.dart
diff --git a/tests/language_strong/await_backwards_compatibility_test.dart b/tests/language_strong/await_backwards_compatibility_test.dart
index c8e2d590c67136a1d1dcd5d9cd9d2990a1a30a4a..f511a988884a4f82d4eae119b6a786c5b76e4487 100644
--- a/tests/language_strong/await_backwards_compatibility_test.dart
+++ b/tests/language_strong/await_backwards_compatibility_test.dart
@@ -14,13 +14,13 @@ get await => 4;
test0() async {
var x = await 7;
Expect.equals(7, x);
- var await = 1; // /// await1: compile-time error
+ var await = 1; // //# await1: compile-time error
}
test1() async {
var x = await 9;
Expect.equals(9, x);
- var y = await; // /// await2: compile-time error
+ var y = await; // //# await2: compile-time error
}
// For functions that are not declared with the async modifier we allow await to
@@ -29,13 +29,13 @@ test1() async {
test2() {
var y = await;
Expect.equals(4, y);
- var x = await 1; // /// await3: compile-time error
+ var x = await 1; // //# await3: compile-time error
}
test3() {
var await = 3;
Expect.equals(3, await);
- var x = await 1; // /// await4: compile-time error
+ var x = await 1; // //# await4: compile-time error
}
main() {
« no previous file with comments | « tests/language_strong/async_throw_in_catch_test.dart ('k') | tests/language_strong/bad_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698