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

Unified Diff: tests/language/getter_no_setter_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/getter_no_setter2_test.dart ('k') | tests/language/getter_override2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/getter_no_setter_test.dart
diff --git a/tests/language/getter_no_setter_test.dart b/tests/language/getter_no_setter_test.dart
index 493dee5153d7be60eb0bffc18535f4617e7f06a7..78535f741f7c3c3b4c4db265ab7e33adf528bab6 100644
--- a/tests/language/getter_no_setter_test.dart
+++ b/tests/language/getter_no_setter_test.dart
@@ -21,16 +21,16 @@ class Example {
{
bool flag_exception = false;
try {
- this.nextVar = 1; // /// 00: static type warning
+ this.nextVar = 1; // //# 00: static type warning
} catch (excpt) {
flag_exception = true;
}
- Expect.isTrue(flag_exception); // /// 00: continued
+ Expect.isTrue(flag_exception); // //# 00: continued
}
}
static test() {
- nextVar = 0; // /// 01: runtime error
- this.nextVar = 0; // /// 02: compile-time error
+ nextVar = 0; // //# 01: runtime error
+ this.nextVar = 0; // //# 02: compile-time error
}
}
« no previous file with comments | « tests/language/getter_no_setter2_test.dart ('k') | tests/language/getter_override2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698