Fix import and broken tests (#211)
These tests were copied from the test repo, and one import was missed.
Fix the test cases for an expanded `contains` mismatch description in #206
diff --git a/test/matcher/prints_test.dart b/test/matcher/prints_test.dart
index 53d58d3..cbdb12a 100644
--- a/test/matcher/prints_test.dart
+++ b/test/matcher/prints_test.dart
@@ -62,7 +62,8 @@
' Actual: <'),
endsWith('>\n'
" Which: printed 'Hello, world!\\n'\n"
- " ''\n")
+ " ''\n"
+ ' which does not contain \'Goodbye\'\n')
]));
});
@@ -78,7 +79,8 @@
startsWith("Expected: prints contains 'Goodbye'\n"
' Actual: <'),
endsWith('>\n'
- ' Which: printed nothing\n')
+ ' Which: printed nothing\n'
+ ' which does not contain \'Goodbye\'\n')
]));
});
diff --git a/test/utils_new.dart b/test/utils_new.dart
index f7d5d0b..7d85a02 100644
--- a/test/utils_new.dart
+++ b/test/utils_new.dart
@@ -4,7 +4,7 @@
import 'dart:async';
-import 'package:test_api/expect.dart';
+import 'package:matcher/expect.dart';
import 'package:test_api/hooks_testing.dart';
/// Asserts that [monitor] has completed and passed.