Index: pkg/matcher/lib/matcher.dart |
diff --git a/pkg/unittest/lib/matcher.dart b/pkg/matcher/lib/matcher.dart |
similarity index 58% |
copy from pkg/unittest/lib/matcher.dart |
copy to pkg/matcher/lib/matcher.dart |
index f2079938c35eb254ceffd2274694fd5d62598912..85694efe9517cc9279e38df7fa73ec3ee63828e7 100644 |
--- a/pkg/unittest/lib/matcher.dart |
+++ b/pkg/matcher/lib/matcher.dart |
@@ -1,36 +1,31 @@ |
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+ |
/** |
- * Support for specifying test expectations, |
- * such as for unit tests. |
- * |
- * This library is included in the |
- * [unittest package on pub.dartlang.org] |
- * (http://pub.dartlang.org/packages/unittest). |
- * Import this library into your Dart code with: |
- * |
- * import 'package:unittest/matcher.dart'; |
+ * Support for specifying test expectations, such as for unit tests. |
* |
* The matcher library provides a third-generation assertion mechanism, drawing |
* inspiration from [Hamcrest](http://code.google.com/p/hamcrest/). |
+ * |
* For more information, see |
* [Unit Testing with Dart] |
* (http://www.dartlang.org/articles/dart-unit-tests/). |
*/ |
-library unittest.matcher; |
+library matcher; |
import 'dart:async'; |
-import 'src/pretty_print.dart'; |
-import 'src/utils.dart'; |
+import 'src/description.dart'; |
+import 'src/interfaces.dart'; |
+ |
+export 'src/description.dart'; |
+export 'src/interfaces.dart'; |
-part 'src/iterable_matchers.dart'; |
part 'src/core_matchers.dart'; |
-part 'src/description.dart'; |
part 'src/expect.dart'; |
part 'src/future_matchers.dart'; |
-part 'src/interfaces.dart'; |
+part 'src/iterable_matchers.dart'; |
part 'src/map_matchers.dart'; |
part 'src/numeric_matchers.dart'; |
part 'src/operator_matchers.dart'; |