Skip to content

Commit d1bfe9b

Browse files
committed
Ignore if we can't create a symlink in this test
1 parent d47036c commit d1bfe9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,7 @@ mod tests {
18811881
check!(fs::create_dir_all(&d2));
18821882
check!(check!(File::create(&canary)).write(b"foo"));
18831883
check!(symlink_junction(&d2, &dt.join("d2")));
1884-
check!(symlink_file(&canary, &d1.join("canary")));
1884+
let _ = symlink_file(&canary, &d1.join("canary"));
18851885
check!(fs::remove_dir_all(&d1));
18861886

18871887
assert!(!d1.is_dir());

0 commit comments

Comments
 (0)