Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
fix: symlink creation
Browse files Browse the repository at this point in the history
  • Loading branch information
llenotre committed Jul 21, 2024
1 parent 337ba27 commit 579755c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filesystem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ pub fn symlinks() -> TestResult {
log!("Create directory");
fs::create_dir("target")?;
log!("Create link to directory");
unix::fs::symlink("link", "target")?;
unix::fs::symlink("target", "link")?;
log!("Stat link");
test_assert!(fs::metadata("link")?.is_symlink());
log!("Stat directory");
Expand Down

0 comments on commit 579755c

Please sign in to comment.