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