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

Unified Diff: pkg/typed_mock/test/typed_mock_test.dart

Issue 311893002: Tweaks for typed_mock. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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
« pkg/typed_mock/lib/typed_mock.dart ('K') | « pkg/typed_mock/pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/typed_mock/test/typed_mock_test.dart
diff --git a/pkg/typed_mock/test/typed_mock_test.dart b/pkg/typed_mock/test/typed_mock_test.dart
index 76add8edad4949912d328e0132e196d1dea18718..c2dc90705732425e58a4929c9247cfc8a45959e3 100644
--- a/pkg/typed_mock/test/typed_mock_test.dart
+++ b/pkg/typed_mock/test/typed_mock_test.dart
@@ -2,8 +2,7 @@ library test.typed_mock;
import 'package:unittest/unittest.dart';
-import 'package:typed_mock/typed_mock.dart' hide equals;
-import 'package:typed_mock/typed_mock.dart' as typed_mocks show equals;
+import 'package:typed_mock/typed_mock.dart';
abstract class TestInterface {
@@ -36,13 +35,6 @@ main() {
});
group('Matchers', () {
- test('equals', () {
- expect(typed_mocks.equals(10).matches(10), true);
- expect(typed_mocks.equals(10).matches(20), false);
- expect(typed_mocks.equals('abc').matches('abc'), true);
- expect(typed_mocks.equals('abc').matches('xyz'), false);
- });
-
test('anyBool', () {
expect(anyBool.matches(true), true);
expect(anyBool.matches(false), true);
« pkg/typed_mock/lib/typed_mock.dart ('K') | « pkg/typed_mock/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698