| 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 unittest.matcher.future_matchers; | 5 library unittest.matcher.future_matchers; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'expect.dart'; | 9 import 'expect.dart'; |
| 10 import 'interfaces.dart'; | 10 import 'interfaces.dart'; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 Description describe(Description description) { | 67 Description describe(Description description) { |
| 68 if (_matcher == null) { | 68 if (_matcher == null) { |
| 69 description.add('completes successfully'); | 69 description.add('completes successfully'); |
| 70 } else { | 70 } else { |
| 71 description.add('completes to a value that ').addDescriptionOf(_matcher); | 71 description.add('completes to a value that ').addDescriptionOf(_matcher); |
| 72 } | 72 } |
| 73 return description; | 73 return description; |
| 74 } | 74 } |
| 75 } | 75 } |
| OLD | NEW |