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

Unified Diff: tests/language/const_error_multiply_initialized_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/const_dynamic_type_literal_test.dart ('k') | tests/language/const_evaluation_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/const_error_multiply_initialized_test.dart
diff --git a/tests/language/const_error_multiply_initialized_test.dart b/tests/language/const_error_multiply_initialized_test.dart
index 896b1a3145345d5d3023128d8ae7a70bee8ab8c6..104bed70c6103fb8e312f17986608d15cc0fb9a4 100644
--- a/tests/language/const_error_multiply_initialized_test.dart
+++ b/tests/language/const_error_multiply_initialized_test.dart
@@ -14,15 +14,15 @@ import "package:expect/expect.dart";
class C {
final x = 1;
- const C() : x = 2; /// 01: compile-time error
- const C() : x = 2; /// 02: static type warning
- const C(this.x); /// 03: compile-time error
- const C(this.x); /// 04: static type warning
+ const C() : x = 2; //# 01: compile-time error
+ const C() : x = 2; //# 02: static type warning
+ const C(this.x); //# 03: compile-time error
+ const C(this.x); //# 04: static type warning
}
main() {
- const C(); /// 01: continued
- Expect.throws(() => new C()); /// 02: continued
- const C(2); /// 03: continued
- Expect.throws(() => new C(2)); /// 04: continued
+ const C(); //# 01: continued
+ Expect.throws(() => new C()); //# 02: continued
+ const C(2); //# 03: continued
+ Expect.throws(() => new C(2)); //# 04: continued
}
« no previous file with comments | « tests/language/const_dynamic_type_literal_test.dart ('k') | tests/language/const_evaluation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698