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

Unified Diff: tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart

Issue 10909166: Rename NoSuchMethodException to NoSuchMethodError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments 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/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart b/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
index 5cd580b6a6c08c952d93fdae6e65c8470e4a5c6d..07a8ff1cd5ef3ee23e04807cda83ff321449c52f 100644
--- a/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
@@ -85,7 +85,7 @@ main() {
a1.foo(20);
} catch (ex) {
caught = true;
- Expect.isTrue(ex is NoSuchMethodException);
+ Expect.isTrue(ex is NoSuchMethodError);
}
Expect.isTrue(caught, 'a1.foo(20) should throw');
@@ -95,7 +95,7 @@ main() {
x.foo(20);
} catch (ex) {
caught = true;
- Expect.isTrue(ex is NoSuchMethodException);
+ Expect.isTrue(ex is NoSuchMethodError);
}
Expect.isTrue(caught, "x.foo(20) should throw");
}

Powered by Google App Engine
This is Rietveld 408576698