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

Unified Diff: tests/language_strong/static_final_field2_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/static_final_field2_test.dart
diff --git a/tests/language_strong/static_final_field2_test.dart b/tests/language_strong/static_final_field2_test.dart
index 82e281e7957f0cf3069d617f070b2fc902469eb4..8a148267b7aa1a1897b53ea6bf8e330b0311892b 100644
--- a/tests/language_strong/static_final_field2_test.dart
+++ b/tests/language_strong/static_final_field2_test.dart
@@ -10,13 +10,13 @@ class A {
class B {
const B() : n = 5;
final n;
- static const a; // /// 02: compile-time error
+ static const a; // //# 02: compile-time error
static const b = 3 + 5;
}
main() {
- A.x = 2; // /// 01: static type warning, runtime error
+ A.x = 2; // //# 01: static type warning, runtime error
new B();
print(B.b);
- print(B.a); // /// 02: continued
+ print(B.a); // //# 02: continued
}
« no previous file with comments | « tests/language_strong/static_field_test.dart ('k') | tests/language_strong/static_getter_no_setter1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698