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

Unified Diff: utils/tests/pub/version_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
« tests/co19/co19-dart2js.status ('K') | « utils/template/utils.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/version_test.dart
diff --git a/utils/tests/pub/version_test.dart b/utils/tests/pub/version_test.dart
index 7d5ae7448a747f0636d5aa8a7708eb6ab630548f..7b3b238b6fcba4bea25eb9b8c284929e04cb4462 100644
--- a/utils/tests/pub/version_test.dart
+++ b/utils/tests/pub/version_test.dart
@@ -427,5 +427,5 @@ Matcher doesNotAllow(List<Version> versions) =>
new VersionConstraintMatcher(versions, false);
throwsIllegalArg(function) {
- expect(function, throwsA((e) => e is IllegalArgumentException));
+ expect(function, throwsA((e) => e is ArgumentError));
}
« tests/co19/co19-dart2js.status ('K') | « utils/template/utils.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698