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

Unified Diff: tests/standalone/src/AssertTest.dart

Issue 8294005: Rename class AssertError to AssertionError in the VM (fix issue 119). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 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/src/AssertTest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/AssertTest.dart
===================================================================
--- tests/standalone/src/AssertTest.dart (revision 455)
+++ tests/standalone/src/AssertTest.dart (working copy)
@@ -10,7 +10,7 @@
int i = 0;
try {
assert(false);
- } catch (AssertError error) {
+ } catch (AssertionError error) {
i = 1;
Expect.equals("false", error.failedAssertion);
int pos = error.url.lastIndexOf("/", error.url.length);
@@ -28,7 +28,7 @@
int i = 0;
try {
assert(() => false);
- } catch (AssertError error) {
+ } catch (AssertionError error) {
i = 1;
Expect.equals("() => false", error.failedAssertion);
int pos = error.url.lastIndexOf("/", error.url.length);
« no previous file with comments | « tests/language/src/AssertTest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698