| Index: pkg/matcher/lib/src/expect.dart
|
| diff --git a/pkg/unittest/lib/src/expect.dart b/pkg/matcher/lib/src/expect.dart
|
| similarity index 97%
|
| copy from pkg/unittest/lib/src/expect.dart
|
| copy to pkg/matcher/lib/src/expect.dart
|
| index 3309efeb3303e6af7c9d7ab04c6749b01e0ef52d..2994163385c4a85639625e489804cc4c1edfc8c6 100644
|
| --- a/pkg/unittest/lib/src/expect.dart
|
| +++ b/pkg/matcher/lib/src/expect.dart
|
| @@ -2,7 +2,7 @@
|
| // 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.
|
|
|
| -part of unittest.matcher;
|
| +part of matcher;
|
|
|
| /** The objects thrown by the default failure handler. */
|
| class TestFailure extends Error {
|
| @@ -31,9 +31,9 @@ void addStateInfo(Map matchState, Map values) {
|
| * such exceptions. The [wrapAsync] property is a function that
|
| * can wrap callbacks used by these Matchers so that they can be
|
| * used safely. For example, the unittest library will set this
|
| - * to be expectAsync1. By default this is an identity function.
|
| + * to be `expectAsync`. By default this is an identity function.
|
| */
|
| -Function wrapAsync = (f, [id]) => f;
|
| +Function wrapAsync = (Function f, [id]) => f;
|
|
|
| /**
|
| * This is the main assertion function. It asserts that [actual]
|
|
|