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

Unified Diff: tests/language_strong/const_error_multiply_initialized_test.dart

Issue 2765693002: Update all tests (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/const_error_multiply_initialized_test.dart
diff --git a/tests/language_strong/const_error_multiply_initialized_test.dart b/tests/language_strong/const_error_multiply_initialized_test.dart
index 896b1a3145345d5d3023128d8ae7a70bee8ab8c6..104bed70c6103fb8e312f17986608d15cc0fb9a4 100644
--- a/tests/language_strong/const_error_multiply_initialized_test.dart
+++ b/tests/language_strong/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
}

Powered by Google App Engine
This is Rietveld 408576698