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

Unified Diff: test/pretty_print_test.dart

Issue 891463004: Correctly match and print strings with escaped values (Closed) Base URL: https://github.com/dart-lang/matcher.git@master
Patch Set: 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/escape_test.dart ('k') | test/string_matchers_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/pretty_print_test.dart
diff --git a/test/pretty_print_test.dart b/test/pretty_print_test.dart
index b8bd847dbb332698c0ec5fc9becadef84de698a6..6d443b50aa2957bb4048fcd8a02da1e11331c2d0 100644
--- a/test/pretty_print_test.dart
+++ b/test/pretty_print_test.dart
@@ -30,7 +30,7 @@ void main() {
test('containing escapable characters', () {
expect(
- prettyPrint("foo\rbar\tbaz'qux"), equals("'foo\\rbar\\tbaz\\'qux'"));
+ prettyPrint("foo\rbar\tbaz'qux\v"), equals(r"'foo\rbar\tbaz\'qux\v'"));
});
});
« no previous file with comments | « test/escape_test.dart ('k') | test/string_matchers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698