| Index: pkg/matcher/test/mirror_matchers_test.dart
|
| diff --git a/pkg/unittest/test/mirror_matchers_test.dart b/pkg/matcher/test/mirror_matchers_test.dart
|
| similarity index 88%
|
| copy from pkg/unittest/test/mirror_matchers_test.dart
|
| copy to pkg/matcher/test/mirror_matchers_test.dart
|
| index 8ebfd025952a811145321007596207f9178af5f0..6def3f128feb4b61354eea09d2d42f763a71d860 100644
|
| --- a/pkg/unittest/test/mirror_matchers_test.dart
|
| +++ b/pkg/matcher/test/mirror_matchers_test.dart
|
| @@ -2,8 +2,8 @@
|
| // 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.
|
|
|
| -import 'package:unittest/unittest.dart';
|
| -import 'package:unittest/mirror_matchers.dart';
|
| +import 'package:matcher/mirror_matchers.dart';
|
| +import 'package:unittest/unittest.dart' as ut;
|
|
|
| import 'test_utils.dart';
|
|
|
| @@ -18,7 +18,7 @@ void main() {
|
|
|
| initUtils();
|
|
|
| - test('hasProperty', () {
|
| + ut.test('hasProperty', () {
|
| var foo = [3];
|
| shouldPass(foo, hasProperty('length', 1));
|
| shouldFail(foo, hasProperty('foo'), 'Expected: has property "foo" '
|
| @@ -31,7 +31,7 @@ void main() {
|
| var c = new C();
|
| shouldPass(c, hasProperty('instanceField', 1));
|
| shouldPass(c, hasProperty('instanceGetter', 2));
|
| - shouldFail(c, hasProperty('staticField'),
|
| + shouldFail(c, hasProperty('staticField'),
|
| 'Expected: has property "staticField" '
|
| 'Actual: <Instance of \'C\'> '
|
| 'Which: has a member named "staticField",'
|
|
|