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

Unified Diff: tests/standalone/src/io/DirectoryInvalidArgumentsTest.dart

Issue 9859001: Fix broken directory test using undefined class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 | « no previous file | tests/standalone/standalone-leg.status » ('j') | tests/standalone/standalone-leg.status » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/DirectoryInvalidArgumentsTest.dart
diff --git a/tests/standalone/src/io/DirectoryInvalidArgumentsTest.dart b/tests/standalone/src/io/DirectoryInvalidArgumentsTest.dart
index 10c3ec0611af6dc76c8c28aaa389d4d455978241..e510233bf1c1ffd3e0a24868f83c9d3731785e45 100644
--- a/tests/standalone/src/io/DirectoryInvalidArgumentsTest.dart
+++ b/tests/standalone/src/io/DirectoryInvalidArgumentsTest.dart
@@ -25,13 +25,13 @@ class DirectoryInvalidArgumentsTest {
d.deleteSync();
Expect.fail("No exception thrown");
} catch (var e) {
- Expect.isTrue(e is DirectoryException);
+ Expect.isTrue(e is DirectoryIOException);
}
try {
d.createSync();
Expect.fail("No exception thrown");
} catch (var e) {
- Expect.isTrue(e is DirectoryException);
+ Expect.isTrue(e is DirectoryIOException);
}
testFailingList(d, false);
d = new Directory(".");
« no previous file with comments | « no previous file | tests/standalone/standalone-leg.status » ('j') | tests/standalone/standalone-leg.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698