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

Unified Diff: tests/html/element_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/html/element_test.dart
diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart
index c6c358c2fcb4d764b4dbe15f78138912a3e58615..25782540c1bde37c63b7681a5d0ef2f3dc413014 100644
--- a/tests/html/element_test.dart
+++ b/tests/html/element_test.dart
@@ -85,7 +85,7 @@ main() {
group('constructors', () {
test('error', () {
Expect.throws(() => new Element.html('<br/><br/>'),
- (e) => e is IllegalArgumentException);
+ (e) => e is ArgumentError);
});
test('.html has no parent', () =>

Powered by Google App Engine
This is Rietveld 408576698