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

Unified Diff: tests/language/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/constructor_duplicate_final_test.dart
diff --git a/tests/language/constructor_duplicate_final_test.dart b/tests/language/constructor_duplicate_final_test.dart
index 0c2169926cf9a316fcf4d3be395f07f5e6481798..e51f3124273b79bf9644ba458a989fc04fc4f94c 100644
--- a/tests/language/constructor_duplicate_final_test.dart
+++ b/tests/language/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
}
« no previous file with comments | « tests/language/constructor_call_as_function_test.dart ('k') | tests/language/constructor_duplicate_initializers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698