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

Unified Diff: tests/language/naming_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
« no previous file with comments | « tests/language/local_function_test.dart ('k') | tests/language/no_such_method_negative_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/naming_test.dart
diff --git a/tests/language/naming_test.dart b/tests/language/naming_test.dart
index ead2c5732b14a3a568df50923737de01091e0e78..65a43288264e1a612c8bc3bd658d9fc08f32aa29 100644
--- a/tests/language/naming_test.dart
+++ b/tests/language/naming_test.dart
@@ -515,8 +515,8 @@ class Naming2Test {
// We check for both exceptions because the exact exception to
// throw is hard to compute on some browsers.
// Also, ObjectNotClosureException should probably implement
- // NoSuchMethodException.
- (e) => e is ObjectNotClosureException || e is NoSuchMethodException);
+ // NoSuchMethodError.
+ (e) => e is ObjectNotClosureException || e is NoSuchMethodError);
}
}
« no previous file with comments | « tests/language/local_function_test.dart ('k') | tests/language/no_such_method_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698