OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // VMOptions=--enable_asserts | 4 // VMOptions=--enable_asserts |
5 | 5 |
6 // Dart test program testing assert statements. | 6 // Dart test program testing assert statements. |
7 | 7 |
8 import "package:expect/expect.dart"; | 8 import "package:expect/expect.dart"; |
9 | 9 |
10 class AssertTest { | 10 class AssertTest { |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 static testMain() { | 33 static testMain() { |
34 test(); | 34 test(); |
35 testClosure(); | 35 testClosure(); |
36 } | 36 } |
37 } | 37 } |
38 | 38 |
39 main() { | 39 main() { |
40 AssertTest.testMain(); | 40 AssertTest.testMain(); |
41 } | 41 } |
OLD | NEW |