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

Unified Diff: tests/language_strong/getter_no_setter2_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_strong/get_set_syntax_test.dart ('k') | tests/language_strong/getter_no_setter_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/getter_no_setter2_test.dart
diff --git a/tests/language_strong/getter_no_setter2_test.dart b/tests/language_strong/getter_no_setter2_test.dart
index 412df61de5e3f2ec4f8e6df99b7b45089af1197f..a798b7e9e9388aff9d303389d999656cd4d27c03 100644
--- a/tests/language_strong/getter_no_setter2_test.dart
+++ b/tests/language_strong/getter_no_setter2_test.dart
@@ -12,25 +12,25 @@ class Example {
{
bool flag_exception = false;
try {
- nextVar++; // /// 03: static type warning
+ nextVar++; // //# 03: static type warning
} catch (excpt) {
flag_exception = true;
}
- Expect.isTrue(flag_exception); // /// 03: continued
+ Expect.isTrue(flag_exception); // //# 03: continued
}
{
bool flag_exception = false;
try {
- this.nextVar++; // /// 00: static type warning
+ this.nextVar++; // //# 00: static type warning
} catch (excpt) {
flag_exception = true;
}
- Expect.isTrue(flag_exception); // /// 00: continued
+ Expect.isTrue(flag_exception); // //# 00: continued
}
}
static test() {
- nextVar++; // /// 01: runtime error
- this.nextVar++; // /// 02: compile-time error
+ nextVar++; // //# 01: runtime error
+ this.nextVar++; // //# 02: compile-time error
}
}
« no previous file with comments | « tests/language_strong/get_set_syntax_test.dart ('k') | tests/language_strong/getter_no_setter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698