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

Unified Diff: tests/corelib/core_runtime_types_test.dart

Issue 10989013: Change IllegalArgumentException to ArgumentError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated co19 test expectations. 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/core_runtime_types_test.dart
diff --git a/tests/corelib/core_runtime_types_test.dart b/tests/corelib/core_runtime_types_test.dart
index 8458db8d040b99c2eb5512b07c37e51b4252bda6..caea8667bc5f24ac31f28e5b3806e26d244b0d61 100644
--- a/tests/corelib/core_runtime_types_test.dart
+++ b/tests/corelib/core_runtime_types_test.dart
@@ -51,7 +51,7 @@ class CoreRuntimeTypesTest {
Expect.equals(true, (exception is TypeError) ||
(exception is NoSuchMethodError) ||
(exception is NullPointerException) ||
- (exception is IllegalArgumentException));
+ (exception is ArgumentError));
return;
}
Expect.equals(true, false);

Powered by Google App Engine
This is Rietveld 408576698