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

Unified Diff: tests/standalone/io/test_extension_tester.dart

Issue 16154017: Rename RuntimeError to CyclicIntializationError, as per spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix bad merge in js_helper.dart Created 7 years, 6 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/standalone/io/test_extension_tester.dart
diff --git a/tests/standalone/io/test_extension_tester.dart b/tests/standalone/io/test_extension_tester.dart
index 707771795f217aba8ffab1b0626e003addadd392..2c349836a078522592dd7b557b4fce66c43e2f0f 100644
--- a/tests/standalone/io/test_extension_tester.dart
+++ b/tests/standalone/io/test_extension_tester.dart
@@ -10,14 +10,14 @@ class Expect {
static void equals(expected, actual, [msg]) {
if (expected != actual) {
if (msg == null) msg = "Expected: $expected. Actual: $actual";
- throw new RuntimeError(msg);
+ throw new StateError(msg);
}
}
static void isNull(x, [msg]) {
if (x != null) {
if (msg != null) msg = "$x not null";
- throw new RuntimeError(msg);
+ throw new StateError(msg);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698