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

Unified Diff: tests/language/no_such_method_negative_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/naming_test.dart ('k') | tests/language/private_main.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/no_such_method_negative_test.dart
diff --git a/tests/language/no_such_method_negative_test.dart b/tests/language/no_such_method_negative_test.dart
index f2a9d720b4dae9e0ca2b0a9570ad97bceff9245b..5b3642ee83adc19e1111c5b890d647293a2dcefc 100644
--- a/tests/language/no_such_method_negative_test.dart
+++ b/tests/language/no_such_method_negative_test.dart
@@ -1,7 +1,7 @@
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Dart test program testing that NoSuchMethodException stops the program.
+// Dart test program testing that NoSuchMethodError stops the program.
class NoSuchMethodNegativeTest {
NoSuchMethodNegativeTest() {}
@@ -10,7 +10,7 @@ class NoSuchMethodNegativeTest {
static testMain() {
var obj = new NoSuchMethodNegativeTest();
- return obj.moo(); // NoSuchMethodException thrown here
+ return obj.moo(); // NoSuchMethodError thrown here
}
}
« no previous file with comments | « tests/language/naming_test.dart ('k') | tests/language/private_main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698