| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 * The matcher library provides a 3rd generation assertion mechanism, drawing | 5 * The matcher library provides a 3rd generation assertion mechanism, drawing |
| 6 * inspiration from [Hamcrest](http://code.google.com/p/hamcrest/). | 6 * inspiration from [Hamcrest](http://code.google.com/p/hamcrest/). |
| 7 * | 7 * |
| 8 * ## Installing ## | 8 * ## Installing ## |
| 9 * | 9 * |
| 10 * Use [pub][] to install this package. Add the following to your `pubspec.yaml` | 10 * Use [pub][] to install this package. Add the following to your `pubspec.yaml` |
| 11 * file. | 11 * file. |
| 12 * | 12 * |
| 13 * dependencies: | 13 * dependencies: |
| 14 * matcher: any | 14 * unittest: any |
| 15 * | 15 * |
| 16 * Then run `pub install`. | 16 * Then run `pub install`. |
| 17 * | 17 * |
| 18 * For more information, see the | 18 * Import this into your Dart code with: |
| 19 * [matcher package on pub.dartlang.org][pkg]. | 19 * |
| 20 * import 'package:unittest/matcher.dart'; |
| 21 * |
| 22 * For more information, see the [unittest package on pub.dartlang.org]. |
| 23 * (http://pub.dartlang.org/packages/unittest). |
| 20 * | 24 * |
| 21 * [pub]: http://pub.dartlang.org | 25 * [pub]: http://pub.dartlang.org |
| 22 * [pkg]: http://pub.dartlang.org/packages/matcher | 26 * [pkg]: http://pub.dartlang.org/packages/matcher |
| 23 */ | 27 */ |
| 24 library matcher; | 28 library matcher; |
| 25 | 29 |
| 26 import 'dart:async'; | 30 import 'dart:async'; |
| 27 | 31 |
| 28 part 'src/basematcher.dart'; | 32 part 'src/basematcher.dart'; |
| 29 part 'src/iterable_matchers.dart'; | 33 part 'src/iterable_matchers.dart'; |
| 30 part 'src/core_matchers.dart'; | 34 part 'src/core_matchers.dart'; |
| 31 part 'src/description.dart'; | 35 part 'src/description.dart'; |
| 32 part 'src/expect.dart'; | 36 part 'src/expect.dart'; |
| 33 part 'src/future_matchers.dart'; | 37 part 'src/future_matchers.dart'; |
| 34 part 'src/interfaces.dart'; | 38 part 'src/interfaces.dart'; |
| 35 part 'src/map_matchers.dart'; | 39 part 'src/map_matchers.dart'; |
| 36 part 'src/numeric_matchers.dart'; | 40 part 'src/numeric_matchers.dart'; |
| 37 part 'src/operator_matchers.dart'; | 41 part 'src/operator_matchers.dart'; |
| 38 part 'src/string_matchers.dart'; | 42 part 'src/string_matchers.dart'; |
| OLD | NEW |