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

Unified Diff: pkg/analyzer/test/generated/parser_test.dart

Issue 2304923002: Allow surrogates in string literals. (Closed)
Patch Set: Fixed another test Created 4 years, 3 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
Index: pkg/analyzer/test/generated/parser_test.dart
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
index 7b58debec8136a8cd5a2e59322d93c608b6d9f4d..bcd7c651a6d6cc67f438cb0ec81e83a42a5a14f4 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -1371,7 +1371,7 @@ class Foo {
}
void test_invalidCodePoint() {
- parse4("parseStringLiteral", "'\\uD900'",
+ parse4("parseStringLiteral", "'\\u{110000}'",
[ParserErrorCode.INVALID_CODE_POINT]);
}

Powered by Google App Engine
This is Rietveld 408576698