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

Unified Diff: tests/standalone/io/directory_chdir_test.dart

Issue 26968003: Remove DirectoryException and LinkException from dart:io and use FileException instaed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge with master. Created 7 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/standalone/io/async_catch_errors_test.dart ('k') | tests/standalone/io/directory_error_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/directory_chdir_test.dart
diff --git a/tests/standalone/io/directory_chdir_test.dart b/tests/standalone/io/directory_chdir_test.dart
index 1833d54a210c5743c968a364181b6d8811342b94..3613aad7cd1cd079a41354c43c624ac5285e0887 100644
--- a/tests/standalone/io/directory_chdir_test.dart
+++ b/tests/standalone/io/directory_chdir_test.dart
@@ -31,7 +31,7 @@ testChangeDirectory() {
Expect.throws(() {
temp.deleteSync(recursive: true);
Directory.current;
- }, (e) => e is DirectoryException);
+ }, (e) => e is FileSystemException);
Directory.current = initialCurrent;
Directory.current;
if (temp.existsSync()) temp.deleteSync(recursive: true);
« no previous file with comments | « tests/standalone/io/async_catch_errors_test.dart ('k') | tests/standalone/io/directory_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698