| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library tdiv_test; | 5 library tdiv_test; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'package:expect/expect.dart'; | 8 import 'package:expect/expect.dart'; |
| 9 import 'package:async_helper/async_helper.dart'; | 9 import 'package:async_helper/async_helper.dart'; |
| 10 import 'compiler_helper.dart'; | 10 import 'compiler_helper.dart'; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 } else { | 78 } else { |
| 79 assert(directive == 'absent'); | 79 assert(directive == 'absent'); |
| 80 Expect.isFalse(generated.contains(pattern), | 80 Expect.isFalse(generated.contains(pattern), |
| 81 "Must not find '$pattern' in:\n$generated"); | 81 "Must not find '$pattern' in:\n$generated"); |
| 82 } | 82 } |
| 83 } | 83 } |
| 84 }); | 84 }); |
| 85 } | 85 } |
| 86 | 86 |
| 87 asyncTest(() => Future.wait([ | 87 asyncTest(() => Future.wait([ |
| 88 check(TEST1), | 88 check(TEST1), |
| 89 check(TEST2), | 89 check(TEST2), |
| 90 check(TEST3), | 90 check(TEST3), |
| 91 check(TEST4), | 91 check(TEST4), |
| 92 check(TEST5), | 92 check(TEST5), |
| 93 ])); | 93 ])); |
| 94 } | 94 } |
| OLD | NEW |