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

Unified Diff: tests/language/local_function_test.dart

Issue 11272004: Fix dartc test expectations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/language_dart2js.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/local_function_test.dart
diff --git a/tests/language/local_function_test.dart b/tests/language/local_function_test.dart
index c9888a0ffcd787c0b98b10c9d58af479b8330355..6c6ab883ce1781e5edf6db3072ded174a858b50b 100644
--- a/tests/language/local_function_test.dart
+++ b/tests/language/local_function_test.dart
@@ -142,14 +142,14 @@ class LocalFunctionTest {
bool exception_caught = false;
try {
f(1, 2);
- } on ClosureArgumentMismatchException catch (e) {
+ } on NoSuchMethodError catch (e) {
exception_caught = true;
}
Expect.equals(true, exception_caught);
exception_caught = false;
try {
f();
- } on ClosureArgumentMismatchException catch (e) {
+ } on NoSuchMethodError catch (e) {
exception_caught = true;
}
Expect.equals(true, exception_caught);
« no previous file with comments | « tests/language/language_dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698