Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(914)

Unified Diff: pkg/mock/test/mock_regexp_negative_test.dart

Issue 209333003: pkg/mock - NEW! (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nit Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/mock/pubspec.yaml ('k') | pkg/mock/test/mock_stepwise_negative_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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]'))).
« no previous file with comments | « pkg/mock/pubspec.yaml ('k') | pkg/mock/test/mock_stepwise_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698