forked from mirrors/jj
clippy: fix new issues spotted by nightly version
This commit is contained in:
parent
93fbcec2f7
commit
c2d5e3d343
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ fn test_commit_interactive() {
|
|||
std::fs::write(edit_script, ["dump editor"].join("\0")).unwrap();
|
||||
|
||||
let diff_editor = test_env.set_up_fake_diff_editor();
|
||||
std::fs::write(&diff_editor, "rm file2").unwrap();
|
||||
std::fs::write(diff_editor, "rm file2").unwrap();
|
||||
|
||||
// Create a commit interactively and select only file1
|
||||
test_env.jj_cmd_ok(&workspace_path, &["commit", "-i"]);
|
||||
|
|
|
@ -777,7 +777,7 @@ fn test_diff_external_tool_symlink() {
|
|||
|
||||
let edit_script = test_env.set_up_fake_diff_editor();
|
||||
std::fs::write(
|
||||
&edit_script,
|
||||
edit_script,
|
||||
"print-files-before\0print --\0print-files-after",
|
||||
)
|
||||
.unwrap();
|
||||
|
|
Loading…
Reference in a new issue