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

Unified Diff: pkg/matcher/test/mirror_matchers_test.dart

Issue 208823005: pkg/matcher (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/matcher/test/matchers_unminified_test.dart ('k') | pkg/matcher/test/pretty_print_minified_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",'
« no previous file with comments | « pkg/matcher/test/matchers_unminified_test.dart ('k') | pkg/matcher/test/pretty_print_minified_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698