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

Unified Diff: tests/language/const_constructor_syntax_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/const_constructor_syntax_test.dart
diff --git a/tests/language/const_constructor_syntax_test.dart b/tests/language/const_constructor_syntax_test.dart
index 4dabdeec47b8e2888d6ca07f0896b3c752b90940..f4ae9aac32b0d8d4281a26dc70bdd1229f71d866 100644
--- a/tests/language/const_constructor_syntax_test.dart
+++ b/tests/language/const_constructor_syntax_test.dart
@@ -3,10 +3,10 @@
// BSD-style license that can be found in the LICENSE file.
main() {
- var c0 = const C0(); /// 01: compile-time error
- var i0 = const I0(); /// 02: compile-time error
+ var c0 = const C0(); //# 01: compile-time error
+ var i0 = const I0(); //# 02: compile-time error
var c1 = const C1();
- var c2 = const C2(); /// 03: compile-time error
+ var c2 = const C2(); //# 03: compile-time error
var c3 = const C3();
}
@@ -20,7 +20,7 @@ class C0 implements I0 {
class C1 {
const C1();
- var modifiable; /// 04: compile-time error
+ var modifiable; //# 04: compile-time error
}
class C2 {
@@ -29,7 +29,7 @@ class C2 {
class C3 {
const C3()
- : field = new C0() /// 05: compile-time error
+ : field = new C0() //# 05: compile-time error
;
final field = null;
}

Powered by Google App Engine
This is Rietveld 408576698