1
0
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:
Stefan Haller
2025-07-08 16:32:14 +02:00
parent 143134fafc
commit 41efd9a027

View File

@ -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))
} }