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 // SharedOptions=--assert-message |
4 | 5 |
5 import "package:expect/expect.dart"; | 6 import "package:expect/expect.dart"; |
6 | 7 |
7 @AssumeDynamic() | 8 @AssumeDynamic() |
8 @NoInline() | 9 @NoInline() |
9 confuse(x) => x; | 10 confuse(x) => x; |
10 | 11 |
11 testFalse(name, fault) { | 12 testFalse(name, fault) { |
12 try { | 13 try { |
13 fault(); | 14 fault(); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 113 |
113 test1(); | 114 test1(); |
114 test2(); | 115 test2(); |
115 test3(); | 116 test3(); |
116 test4(); | 117 test4(); |
117 testTypeErrors(); | 118 testTypeErrors(); |
118 testMessageEffect1(); | 119 testMessageEffect1(); |
119 testMessageEffect2(); | 120 testMessageEffect2(); |
120 testMessageEffect3(); | 121 testMessageEffect3(); |
121 } | 122 } |
OLD | NEW |