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

Unified Diff: test/string_matchers_test.dart

Issue 867133002: pkg/matcher: refactor with unittest v0.12 work (Closed) Base URL: https://github.com/dart-lang/matcher.git@master
Patch Set: cl nits Created 5 years, 10 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 | « test/prints_matcher_test.dart ('k') | test/test_common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/string_matchers_test.dart
diff --git a/test/string_matchers_test.dart b/test/string_matchers_test.dart
index 4cebd588ae4525dfac5468d4adbe3c1a130830b3..cb34a702f7e970d614fa1c96803e80df0e273be0 100644
--- a/test/string_matchers_test.dart
+++ b/test/string_matchers_test.dart
@@ -5,13 +5,11 @@
library matcher.string_matchers_test;
import 'package:matcher/matcher.dart';
-import 'package:unittest/unittest.dart' show test, group;
+import 'package:unittest/unittest.dart' show test, group, expect;
import 'test_utils.dart';
void main() {
- initUtils();
-
test('Reports mismatches in whitespace and escape sequences', () {
shouldFail('before\nafter', equals('before\\nafter'),
contains('Differ at offset 7'));
« no previous file with comments | « test/prints_matcher_test.dart ('k') | test/test_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698