Index: tests/language/final_syntax_test.dart |
diff --git a/tests/language/final_syntax_test.dart b/tests/language/final_syntax_test.dart |
index 85c92e78cd9b16257333446339567503abc89677..bf6f97579a10ab6d52483233ef2dfd633c1efcb8 100644 |
--- a/tests/language/final_syntax_test.dart |
+++ b/tests/language/final_syntax_test.dart |
@@ -6,16 +6,16 @@ import "package:expect/expect.dart"; |
main() { |
final f0 = 42; |
- final f1; /// 01: compile-time error |
+ final f1; //# 01: compile-time error |
final int f2 = 87; |
- final int f3; /// 02: compile-time error |
+ final int f3; //# 02: compile-time error |
Expect.equals(42, f0); |
Expect.equals(87, f2); |
Expect.equals(42, F0); |
- Expect.equals(null, F1); /// 03: compile-time error |
+ Expect.equals(null, F1); //# 03: compile-time error |
Expect.equals(87, F2); |
- Expect.equals(null, F3); /// 04: compile-time error |
+ Expect.equals(null, F3); //# 04: compile-time error |
Expect.isTrue(P0 is Point); |
Expect.isTrue(P1 is int); |
@@ -24,20 +24,20 @@ main() { |
Expect.isTrue(A0 is int); |
Expect.isTrue(A1 is int); |
- Expect.isTrue(A2 is int); /// 08: runtime error |
- Expect.isTrue(A3 is int); /// 08: continued |
+ Expect.isTrue(A2 is int); //# 08: runtime error |
+ Expect.isTrue(A3 is int); //# 08: continued |
Expect.isTrue(C0.X is C1); |
- Expect.isTrue(C0.X.x is C1); /// 09: compile-time error |
+ Expect.isTrue(C0.X.x is C1); //# 09: compile-time error |
Expect.equals("Hello 42", B2); |
- Expect.equals("42Hello", B3); /// 10: runtime error |
+ Expect.equals("42Hello", B3); //# 10: runtime error |
} |
final F0 = 42; |
-final F1; // /// 03: continued |
+final F1; // //# 03: continued |
final int F2 = 87; |
-final int F3; // /// 04: continued |
+final int F3; // //# 04: continued |
class Point { |
final x, y; |
@@ -56,8 +56,8 @@ final P3 = new Point(0, 0) + 1; |
// expressions. |
final A0 = 42; |
final A1 = A0 + 1; |
-final A2 = A3 + 1; /// 08: continued |
-final A3 = A2 + 1; /// 08: continued |
+final A2 = A3 + 1; //# 08: continued |
+final A3 = A2 + 1; //# 08: continued |
class C0 { |
static final X = const C1(); |
@@ -65,7 +65,7 @@ class C0 { |
class C1 { |
const C1() |
- : x = C0.X /// 09: continued |
+ : x = C0.X //# 09: continued |
; |
final x = null; |
} |
@@ -74,4 +74,4 @@ class C1 { |
final B0 = 42; |
final B1 = "Hello"; |
final B2 = "$B1 $B0"; |
-final B3 = B0 + B1; /// 10: continued |
+final B3 = B0 + B1; //# 10: continued |