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); |