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

Unified Diff: tests/corelib/reg_exp4_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_exp4_test.dart
===================================================================
--- tests/corelib/reg_exp4_test.dart (revision 7745)
+++ tests/corelib/reg_exp4_test.dart (working copy)
@@ -9,7 +9,7 @@
Expect.fail("Expected: NullPointerException got: no exception");
} catch (Exception ex) {
if (!(ex is NullPointerException)) {
- Expect.fail("Expected: NullPointerException" + " got: ${ex}");
+ Expect.fail("Expected: NullPointerException got: ${ex}");
}
}
try {
@@ -17,7 +17,7 @@
Expect.fail("Expected: NullPointerException got: no exception");
} catch (Exception ex) {
if (!(ex is NullPointerException)) {
- Expect.fail("Expected: NullPointerException" + " got: ${ex}");
+ Expect.fail("Expected: NullPointerException got: ${ex}");
}
}
try {
@@ -25,7 +25,7 @@
Expect.fail("Expected: NullPointerException got: no exception");
} catch (Exception ex) {
if (!(ex is NullPointerException)) {
- Expect.fail("Expected: NullPointerException" + " got: ${ex}");
+ Expect.fail("Expected: NullPointerException got: ${ex}");
}
}
try {
@@ -33,7 +33,7 @@
Expect.fail("Expected: NullPointerException got: no exception");
} catch (Exception ex) {
if (!(ex is NullPointerException)) {
- Expect.fail("Expected: NullPointerException" + " got: ${ex}");
+ Expect.fail("Expected: NullPointerException got: ${ex}");
}
}
try {
@@ -41,7 +41,7 @@
Expect.fail("Expected: NullPointerException got: no exception");
} catch (Exception ex) {
if (!(ex is NullPointerException)) {
- Expect.fail("Expected: NullPointerException" + " got: ${ex}");
+ Expect.fail("Expected: NullPointerException got: ${ex}");
}
}
}
« no previous file with comments | « no previous file | tests/corelib/reg_exp5_test.dart » ('j') | tests/standalone/io/file_invalid_arguments_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698