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

Unified Diff: tests/language_strong/compile_time_constant_checked2_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/compile_time_constant_checked2_test.dart
diff --git a/tests/language_strong/compile_time_constant_checked2_test.dart b/tests/language_strong/compile_time_constant_checked2_test.dart
index 52cfc413cf33a3440f57094b1c8fad79f07adae6..3a9a55eaa72363040bc62b4723af5c562475679f 100644
--- a/tests/language_strong/compile_time_constant_checked2_test.dart
+++ b/tests/language_strong/compile_time_constant_checked2_test.dart
@@ -4,26 +4,26 @@
class A {
final int x;
- const A.a1() : x = 'foo'; /// 01: continued
+ const A.a1() : x = 'foo'; //# 01: continued
const A.a2(this.x);
- const A.a3([this.x = 'foo']); /// 03: continued
- const A.a4(String this.x); /// 04: continued
- const A.a5(String x) : this.x = x; /// 05: continued
+ const A.a3([this.x = 'foo']); //# 03: continued
+ const A.a4(String this.x); //# 04: continued
+ const A.a5(String x) : this.x = x; //# 05: continued
const A.a6(int x) : this.x = x;
}
-const a1 = const A.a1(); /// 01: static type warning, checked mode compile-time error
-const a2 = const A.a2('foo'); /// 02: static type warning, checked mode compile-time error
-const a3 = const A.a3(); /// 03: static type warning, checked mode compile-time error
-const a4 = const A.a4('foo'); /// 04: static type warning, checked mode compile-time error
-const a5 = const A.a5('foo'); /// 05: static type warning, checked mode compile-time error
-const a6 = const A.a6('foo'); /// 06: static type warning, checked mode compile-time error
+const a1 = const A.a1(); //# 01: static type warning, checked mode compile-time error
+const a2 = const A.a2('foo'); //# 02: static type warning, checked mode compile-time error
+const a3 = const A.a3(); //# 03: static type warning, checked mode compile-time error
+const a4 = const A.a4('foo'); //# 04: static type warning, checked mode compile-time error
+const a5 = const A.a5('foo'); //# 05: static type warning, checked mode compile-time error
+const a6 = const A.a6('foo'); //# 06: static type warning, checked mode compile-time error
main() {
- print(a1); /// 01: continued
- print(a2); /// 02: continued
- print(a3); /// 03: continued
- print(a4); /// 04: continued
- print(a5); /// 05: continued
- print(a6); /// 06: continued
+ print(a1); //# 01: continued
+ print(a2); //# 02: continued
+ print(a3); //# 03: continued
+ print(a4); //# 04: continued
+ print(a5); //# 05: continued
+ print(a6); //# 06: continued
}

Powered by Google App Engine
This is Rietveld 408576698