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

Unified Diff: tests/language_strong/await_backwards_compatibility_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/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 73151c7dc11c2fc7e881deecb1662a42d2429100..05c2023c40ef6f444c60a845469df55d67890b0e 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() {

Powered by Google App Engine
This is Rietveld 408576698