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

Unified Diff: tests/language/rethrow_test.dart

Issue 14012005: Implement rethrow statement (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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/rethrow_test.dart
===================================================================
--- tests/language/rethrow_test.dart (revision 21305)
+++ tests/language/rethrow_test.dart (working copy)
@@ -29,7 +29,7 @@
Expect.fail("Should have thrown an exception");
} catch (e) {
Expect.equals(true, identical(e, currentException));
- throw;
+ rethrow;
Expect.fail("Should have thrown an exception");
}
} on OtherException catch (e) {
@@ -47,7 +47,7 @@
Expect.fail("Should have thrown an exception");
} catch (e) {
Expect.equals(true, identical(e, currentException));
- throw;
+ rethrow;
Expect.fail("Should have thrown an exception");
}
} catch (e) {
« 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