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

Unified Diff: tests/compiler/dart2js_foreign/native_class_inheritance1_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_foreign/native_class_inheritance1_test.dart
diff --git a/tests/compiler/dart2js_foreign/native_class_inheritance1_test.dart b/tests/compiler/dart2js_foreign/native_class_inheritance1_test.dart
index 205d3f9f930b89ed42c6ca77bb75fb38d895bc36..408b7f58b246ccaee45895c64c239cee702edccc 100644
--- a/tests/compiler/dart2js_foreign/native_class_inheritance1_test.dart
+++ b/tests/compiler/dart2js_foreign/native_class_inheritance1_test.dart
@@ -90,7 +90,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');
@@ -100,7 +100,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