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

Unified Diff: tests/language/implied_interface_test.dart

Issue 10909166: Rename NoSuchMethodException to NoSuchMethodError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/language/implied_interface_test.dart
diff --git a/tests/language/implied_interface_test.dart b/tests/language/implied_interface_test.dart
index f565038568c1ed94e4e78ded32274c5141254ff4..9a6f955a3fbc6acf324e407d9b35f8b4be2743a9 100644
--- a/tests/language/implied_interface_test.dart
+++ b/tests/language/implied_interface_test.dart
@@ -33,14 +33,14 @@ main() {
ImplementsExtendsClass c2 = new ImplementsExtendsClass();
try {
c1.foo;
- Expect.fail('expected a NoSuchMethodException');
- } on NoSuchMethodException catch (ex) {
+ Expect.fail('expected a NoSuchMethodError');
+ } on NoSuchMethodError catch (ex) {
// Expected error.
}
try {
c2.foo;
- Expect.fail('expected a NoSuchMethodException');
- } on NoSuchMethodException catch (ex) {
+ Expect.fail('expected a NoSuchMethodError');
+ } on NoSuchMethodError catch (ex) {
// Expected error.
}
Expect.equals(true, c1 is BaseClass);

Powered by Google App Engine
This is Rietveld 408576698