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

Unified Diff: tests/compiler/dart2js_extra/interface_type_optimization_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/compiler/dart2js_extra/interface_type_optimization_test.dart
diff --git a/tests/compiler/dart2js_extra/interface_type_optimization_test.dart b/tests/compiler/dart2js_extra/interface_type_optimization_test.dart
index a88a5e362fe035a18c45f3ab1574ea89924c5bd8..a03144741bd42bc4b46a68b2d27f0a10c9deb958 100644
--- a/tests/compiler/dart2js_extra/interface_type_optimization_test.dart
+++ b/tests/compiler/dart2js_extra/interface_type_optimization_test.dart
@@ -15,7 +15,7 @@ main() {
// Passing b to test should lead to an exception because the string
// we end up passing to B.foo does not implement the - operator.
- Expect.throws(() => test(b), (e) => e is NoSuchMethodException);
+ Expect.throws(() => test(b), (e) => e is NoSuchMethodError);
}
// TODO(kasperl): Make sure this does not get inlined.

Powered by Google App Engine
This is Rietveld 408576698