Index: tests/language/if_null_behavior_test.dart |
diff --git a/tests/language/if_null_behavior_test.dart b/tests/language/if_null_behavior_test.dart |
index c023d891433f9a0aafa95a549eea5c2c932e7229..6ad6d5271cb13fa8a7618dbdb624aa23d38b5e3a 100644 |
--- a/tests/language/if_null_behavior_test.dart |
+++ b/tests/language/if_null_behavior_test.dart |
@@ -34,20 +34,20 @@ main() { |
// status files easier to maintain. |
var _ = null ?? null; |
- Expect.equals(1, 1 ?? 2); /// 01: ok |
- Expect.equals(1, 1 ?? null); /// 02: ok |
- Expect.equals(2, null ?? 2); /// 03: ok |
- Expect.equals(null, null ?? null); /// 04: ok |
- Expect.equals('B', (new B('B') ?? new C('C')).a); /// 05: ok |
- Expect.equals('B', (new B('B') ?? new C('C')).b); /// 06: static type warning |
- Expect.throws(() => (new B('B') ?? new C('C')).c, noMethod); /// 07: static type warning |
- Expect.equals('B', (new B('B') ?? nullC()).a); /// 08: ok |
- Expect.equals('B', (new B('B') ?? nullC()).b); /// 09: static type warning |
- Expect.throws(() => (new B('B') ?? nullC()).c, noMethod); /// 10: static type warning |
- Expect.equals('C', (nullB() ?? new C('C')).a); /// 11: ok |
- Expect.throws(() => (nullB() ?? new C('C')).b, noMethod); /// 12: static type warning |
- Expect.equals('C', (nullB() ?? new C('C')).c); /// 13: static type warning |
- Expect.throws(() => (nullB() ?? nullC()).a, noMethod); /// 14: ok |
- Expect.throws(() => (nullB() ?? nullC()).b, noMethod); /// 15: static type warning |
- Expect.throws(() => (nullB() ?? nullC()).c, noMethod); /// 16: static type warning |
+ Expect.equals(1, 1 ?? 2); //# 01: ok |
+ Expect.equals(1, 1 ?? null); //# 02: ok |
+ Expect.equals(2, null ?? 2); //# 03: ok |
+ Expect.equals(null, null ?? null); //# 04: ok |
+ Expect.equals('B', (new B('B') ?? new C('C')).a); //# 05: ok |
+ Expect.equals('B', (new B('B') ?? new C('C')).b); //# 06: static type warning |
+ Expect.throws(() => (new B('B') ?? new C('C')).c, noMethod); //# 07: static type warning |
+ Expect.equals('B', (new B('B') ?? nullC()).a); //# 08: ok |
+ Expect.equals('B', (new B('B') ?? nullC()).b); //# 09: static type warning |
+ Expect.throws(() => (new B('B') ?? nullC()).c, noMethod); //# 10: static type warning |
+ Expect.equals('C', (nullB() ?? new C('C')).a); //# 11: ok |
+ Expect.throws(() => (nullB() ?? new C('C')).b, noMethod); //# 12: static type warning |
+ Expect.equals('C', (nullB() ?? new C('C')).c); //# 13: static type warning |
+ Expect.throws(() => (nullB() ?? nullC()).a, noMethod); //# 14: ok |
+ Expect.throws(() => (nullB() ?? nullC()).b, noMethod); //# 15: static type warning |
+ Expect.throws(() => (nullB() ?? nullC()).c, noMethod); //# 16: static type warning |
} |