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

Unified Diff: tests/language/is_nan_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/implied_interface_test.dart ('k') | tests/language/local_function3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/is_nan_test.dart
diff --git a/tests/language/is_nan_test.dart b/tests/language/is_nan_test.dart
index cebbf4c1b03ba087f92e8243b1d309dbd121933e..f4fa0f784f0106ed37223cb23d059f7361377da8 100644
--- a/tests/language/is_nan_test.dart
+++ b/tests/language/is_nan_test.dart
@@ -9,7 +9,7 @@ class A {
main() {
Expect.isTrue(foo(double.NAN));
Expect.isFalse(foo(new A()));
- Expect.throws(() => foo('bar'), (e) => e is NoSuchMethodException);
+ Expect.throws(() => foo('bar'), (e) => e is NoSuchMethodError);
}
foo(a) => a.isNaN();
« no previous file with comments | « tests/language/implied_interface_test.dart ('k') | tests/language/local_function3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698