mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-21 08:22:05 +03:00
Use non-deprecated 'OS.Open' config in OpenFile test on Windows
This should have been changed in e4e16fa38e
.
This commit is contained in:
@ -71,7 +71,7 @@ func TestOSCommandOpenFileWindows(t *testing.T) {
|
|||||||
}
|
}
|
||||||
oSCmd.Platform = platform
|
oSCmd.Platform = platform
|
||||||
oSCmd.Cmd.platform = platform
|
oSCmd.Cmd.platform = platform
|
||||||
oSCmd.UserConfig().OS.OpenCommand = `start "" {{filename}}`
|
oSCmd.UserConfig().OS.Open = `start "" {{filename}}`
|
||||||
|
|
||||||
s.test(oSCmd.OpenFile(s.filename))
|
s.test(oSCmd.OpenFile(s.filename))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user