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

Unified Diff: utils/tests/peg/peg_test.dart

Issue 10991031: Update peg parser tests to r'' strings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « utils/tests/peg/peg.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/peg/peg_test.dart
diff --git a/utils/tests/peg/peg_test.dart b/utils/tests/peg/peg_test.dart
index a8cc7d8c2df305d6788860fa7a42bdbae04a20a6..e2dedb8125bdfd007ed6f7853c650d43b005bd85 100644
--- a/utils/tests/peg/peg_test.dart
+++ b/utils/tests/peg/peg_test.dart
@@ -43,7 +43,7 @@ testBlockComment() {
check(g, a, "x /*/***/ x", 'EOF in block comment');
check(g, a, "x /*/*/x**/**/ x", '[x,x]');
- check(g, a, @"""
+ check(g, a, r"""
/* Comment */
/* Following comment with /* nested comment*/ */
x
@@ -126,9 +126,9 @@ testC() {
// Lexical elements.
var idStartChar = CHAR(
- @"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");
+ r"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");
var idNextChar = CHAR(
- @"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789$_");
+ r"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789$_");
var id = TEXT(LEX('identifier', [idStartChar, MANY(idNextChar, min: 0)]));
« no previous file with comments | « utils/tests/peg/peg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698