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

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

Issue 23465020: Fix Windows test of resolveSymbolicLinks (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/resolve_symbolic_links_test.dart
diff --git a/tests/standalone/io/resolve_symbolic_links_test.dart b/tests/standalone/io/resolve_symbolic_links_test.dart
index eff1cd0d3ee29a0f75aaf7ec3af176404a5c9ac3..c7d66ed823e6c4666f20ce6d0f1ede5c407c9001 100644
--- a/tests/standalone/io/resolve_symbolic_links_test.dart
+++ b/tests/standalone/io/resolve_symbolic_links_test.dart
@@ -61,7 +61,6 @@ main() {
testFile('link1/file2'),
testFile(join('dir1', '..', 'dir1', '.', 'file1')),
testDir('.'),
- testDir('link1/.'),
testLink('link1')]);
})
.then((_) {
@@ -71,7 +70,7 @@ main() {
testFile('file2'),
// Windows applies '..' to a link without resolving the link first.
testFile('..\\dir1\\file1'),
- testDir('.'),
+ testLink('.'),
testDir('..'),
testLink('..\\link1')]);
} else {
@@ -81,10 +80,14 @@ main() {
testFile('../dir2/file2'),
testDir('.'),
testDir('..'),
+ testDir('link1/.'),
testLink('../../link1')]);
}
})
- .whenComplete(() => tempDir.delete(recursive: true));
+ .whenComplete(() {
+ Directory.current = testsDir;
+ tempDir.delete(recursive: true);
+ });
}));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698