| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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('unittestTest'); | 5 #library('unittestTest'); |
| 6 | 6 |
| 7 #import('../../lib/unittest/unittest.dart'); | 7 #import('../../lib/unittest/unittest.dart'); |
| 8 | 8 |
| 9 | 9 |
| 10 doesNotThrow() {} | 10 doesNotThrow() {} |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 test('allOf', () { | 448 test('allOf', () { |
| 449 shouldPass(1, allOf([lessThan(10), greaterThan(0)])); | 449 shouldPass(1, allOf([lessThan(10), greaterThan(0)])); |
| 450 shouldFail(-1, allOf([lessThan(10), greaterThan(0)]), | 450 shouldFail(-1, allOf([lessThan(10), greaterThan(0)]), |
| 451 "Expected: (a value less than <10> and a value greater than <0>) " | 451 "Expected: (a value less than <10> and a value greater than <0>) " |
| 452 "but: a value greater than <0> was <-1>"); | 452 "but: a value greater than <0> was <-1>"); |
| 453 }); | 453 }); |
| 454 }); | 454 }); |
| 455 } | 455 } |
| 456 | 456 |
| 457 | 457 |
| OLD | NEW |