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

Unified Diff: tests/corelib/reg_exp5_test.dart

Issue 10414002: More String + elimination in tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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/reg_exp5_test.dart
===================================================================
--- tests/corelib/reg_exp5_test.dart (revision 7745)
+++ tests/corelib/reg_exp5_test.dart (working copy)
@@ -9,7 +9,7 @@
RegExp ex = new RegExp(str);
} catch (Exception e) {
if (!(e is NullPointerException)) {
- Expect.fail("Expected: NullPointerException" + " got: ${e}");
+ Expect.fail("Expected: NullPointerException got: ${e}");
}
}
Expect.isFalse(new RegExp(@"^\w+$").hasMatch(str));

Powered by Google App Engine
This is Rietveld 408576698