Index: pkg/mock/test/mock_regexp_negative_test.dart |
diff --git a/pkg/unittest/test/mock_regexp_negative_test.dart b/pkg/mock/test/mock_regexp_negative_test.dart |
similarity index 70% |
copy from pkg/unittest/test/mock_regexp_negative_test.dart |
copy to pkg/mock/test/mock_regexp_negative_test.dart |
index c682e9b190fd4298d2a69521e5c36ffe4b5b5a1f..c22ac41ad034dcbd5b8311977208267295257fd8 100644 |
--- a/pkg/unittest/test/mock_regexp_negative_test.dart |
+++ b/pkg/mock/test/mock_regexp_negative_test.dart |
@@ -2,11 +2,13 @@ |
// 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. |
-library mock_regexp_negative_test; |
-import 'package:unittest/unittest.dart'; |
-import 'package:unittest/mock.dart'; |
+library mock.mock_regexp_negative_test; |
-main() { |
+import 'package:unittest/unittest.dart' show test; |
+import 'package:matcher/matcher.dart'; |
+import 'package:mock/mock.dart'; |
+ |
+void main() { |
test('Mocking: RegExp CallMatcher bad', () { |
var m = new Mock(); |
m.when(callsTo(matches('^[A-Z]'))). |