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

Unified Diff: tests/corelib/reg_exp4_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
« no previous file with comments | « tests/compiler/dart2js/type_equals_test.dart ('k') | tests/corelib/reg_exp5_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/reg_exp4_test.dart
===================================================================
--- tests/corelib/reg_exp4_test.dart (revision 12867)
+++ tests/corelib/reg_exp4_test.dart (working copy)
@@ -13,7 +13,7 @@
}
}
try {
- const RegExp(@"^\w+$").hasMatch(null);
+ const RegExp(r"^\w+$").hasMatch(null);
Expect.fail("Expected: NullPointerException got: no exception");
} on Exception catch (ex) {
if (!(ex is NullPointerException)) {
@@ -21,7 +21,7 @@
}
}
try {
- const RegExp(@"^\w+$").firstMatch(null);
+ const RegExp(r"^\w+$").firstMatch(null);
Expect.fail("Expected: NullPointerException got: no exception");
} on Exception catch (ex) {
if (!(ex is NullPointerException)) {
@@ -29,7 +29,7 @@
}
}
try {
- const RegExp(@"^\w+$").allMatches(null);
+ const RegExp(r"^\w+$").allMatches(null);
Expect.fail("Expected: NullPointerException got: no exception");
} on Exception catch (ex) {
if (!(ex is NullPointerException)) {
@@ -37,7 +37,7 @@
}
}
try {
- const RegExp(@"^\w+$").stringMatch(null);
+ const RegExp(r"^\w+$").stringMatch(null);
Expect.fail("Expected: NullPointerException got: no exception");
} on Exception catch (ex) {
if (!(ex is NullPointerException)) {
« no previous file with comments | « tests/compiler/dart2js/type_equals_test.dart ('k') | tests/corelib/reg_exp5_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698