| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Test for conditionals as compile-time constants. | 5 // Test for conditionals as compile-time constants. |
| 6 | 6 |
| 7 import 'package:expect/expect.dart'; | 7 import 'package:expect/expect.dart'; |
| 8 | 8 |
| 9 class Marker { | 9 class Marker { |
| 10 final field; | 10 final field; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 Expect.identical(var1, cond2a); //# 03: continued | 46 Expect.identical(var1, cond2a); //# 03: continued |
| 47 Expect.identical(nonConst, cond2b); //# 04: continued | 47 Expect.identical(nonConst, cond2b); //# 04: continued |
| 48 | 48 |
| 49 Expect.identical(var0, cond3); // //# 05: continued | 49 Expect.identical(var0, cond3); // //# 05: continued |
| 50 Expect.identical(nonConst, cond3a); //# 06: continued | 50 Expect.identical(nonConst, cond3a); //# 06: continued |
| 51 Expect.identical(var0, cond3b); //# 07: continued | 51 Expect.identical(var0, cond3b); //# 07: continued |
| 52 | 52 |
| 53 Expect.identical(var1, cond4); // //# 08: continued | 53 Expect.identical(var1, cond4); // //# 08: continued |
| 54 Expect.identical(var1, cond4a); //# 09: continued | 54 Expect.identical(var1, cond4a); //# 09: continued |
| 55 Expect.identical(nonConst, cond4b); //# 10: continued | 55 Expect.identical(nonConst, cond4b); //# 10: continued |
| 56 } | 56 } |
| OLD | NEW |