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

Unified Diff: tests/corelib/string_split_reg_exp_test.dart

Issue 10981026: Convert raw strings to new syntax (Closed) Base URL: http://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
Index: tests/corelib/string_split_reg_exp_test.dart
===================================================================
--- tests/corelib/string_split_reg_exp_test.dart (revision 12867)
+++ tests/corelib/string_split_reg_exp_test.dart (working copy)
@@ -21,7 +21,7 @@
Expect.equals("b", list[1]);
Expect.equals("c", list[2]);
- list = "abc".split(new RegExp(@"b$"));
+ list = "abc".split(new RegExp(r"b$"));
Expect.equals(1, list.length);
Expect.equals("abc", list[0]);
@@ -38,7 +38,7 @@
Expect.equals("", list[2]);
Expect.equals("", list[3]);
- list = "aaa".split(const RegExp(@"a$"));
+ list = "aaa".split(const RegExp(r"a$"));
Expect.equals(2, list.length);
Expect.equals("aa", list[0]);
Expect.equals("", list[1]);
« no previous file with comments | « tests/corelib/string_replace_dollar_test.dart ('k') | tests/language/adjacent_const_string_literals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698