Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
kirawi committed May 18, 2024
1 parent 3177b5f commit 7273791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/tests/test/commands/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ async fn test_symlink_write_relative() -> anyhow::Result<()> {
let inner_dir = dir.path().join("b");
std::fs::create_dir(&inner_dir)?;

let mut file = tempfile::NamedTempFile::with_prefix_in("file", &inner_dir)?;
let mut file = tempfile::NamedTempFile::new_in(&inner_dir)?;
let symlink_path = dir.path().join("linked");
let relative_path = format!("b/{}", file.path().file_name().unwrap().to_str().unwrap());
symlink(relative_path, &symlink_path)?;
Expand Down

0 comments on commit 7273791

Please sign in to comment.