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

Unified Diff: tests/language_strong/constructor_duplicate_final_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/constructor_duplicate_final_test.dart
diff --git a/tests/language_strong/constructor_duplicate_final_test.dart b/tests/language_strong/constructor_duplicate_final_test.dart
index 0c2169926cf9a316fcf4d3be395f07f5e6481798..e51f3124273b79bf9644ba458a989fc04fc4f94c 100644
--- a/tests/language_strong/constructor_duplicate_final_test.dart
+++ b/tests/language_strong/constructor_duplicate_final_test.dart
@@ -8,17 +8,17 @@
class Class {
final f = 10;
- Class(v) : f = v; // /// 01: runtime error, static type warning
+ Class(v) : f = v; // //# 01: runtime error, static type warning
- Class(this.f); // /// 02: runtime error, static type warning
+ Class(this.f); // //# 02: runtime error, static type warning
// If a field is initialized multiple times in the initializer
// list, it's a compile time error.
- Class(this.f) : f = 0; // /// 03: compile-time error
+ Class(this.f) : f = 0; // //# 03: compile-time error
}
main() {
- new Class(5); // /// 01: continued
- new Class(5); // /// 02: continued
- new Class(5); // /// 03: continued
+ new Class(5); // //# 01: continued
+ new Class(5); // //# 02: continued
+ new Class(5); // //# 03: continued
}

Powered by Google App Engine
This is Rietveld 408576698