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

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

Issue 11638049: Convert unittest to use "package:" imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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/unittest/test/matchers_test.dart ('k') | pkg/unittest/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/unittest/test/mock_regexp_negative_test.dart
diff --git a/pkg/unittest/test/mock_regexp_negative_test.dart b/pkg/unittest/test/mock_regexp_negative_test.dart
index 91811f5dc70f838518ab21095a4fceba3d6bef2e..c682e9b190fd4298d2a69521e5c36ffe4b5b5a1f 100644
--- a/pkg/unittest/test/mock_regexp_negative_test.dart
+++ b/pkg/unittest/test/mock_regexp_negative_test.dart
@@ -3,14 +3,14 @@
// BSD-style license that can be found in the LICENSE file.
library mock_regexp_negative_test;
-import '../../../pkg/unittest/lib/unittest.dart';
-import '../../../pkg/unittest/lib/mock.dart';
+import 'package:unittest/unittest.dart';
+import 'package:unittest/mock.dart';
main() {
test('Mocking: RegExp CallMatcher bad', () {
- var m = new Mock();
- m.when(callsTo(matches('^[A-Z]'))).
- alwaysThrow('Method names must start with lower case.');
- m.Test();
+ var m = new Mock();
+ m.when(callsTo(matches('^[A-Z]'))).
+ alwaysThrow('Method names must start with lower case.');
+ m.Test();
});
}
« no previous file with comments | « pkg/unittest/test/matchers_test.dart ('k') | pkg/unittest/test/mock_stepwise_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698