Skip to content

Commit 41efd9a

Browse files
committed
Use non-deprecated 'OS.Open' config in OpenFile test on Windows
This should have been changed in e4e16fa.
1 parent 143134f commit 41efd9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/commands/oscommands/os_windows_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func TestOSCommandOpenFileWindows(t *testing.T) {
7171
}
7272
oSCmd.Platform = platform
7373
oSCmd.Cmd.platform = platform
74-
oSCmd.UserConfig().OS.OpenCommand = `start "" {{filename}}`
74+
oSCmd.UserConfig().OS.Open = `start "" {{filename}}`
7575

7676
s.test(oSCmd.OpenFile(s.filename))
7777
}

0 commit comments

Comments
 (0)