summaryrefslogtreecommitdiffstats
path: root/pkg/commands/oscommands/os_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/oscommands/os_test.go')
-rw-r--r--pkg/commands/oscommands/os_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/oscommands/os_test.go b/pkg/commands/oscommands/os_test.go
index 3383db215..78dfa48ec 100644
--- a/pkg/commands/oscommands/os_test.go
+++ b/pkg/commands/oscommands/os_test.go
@@ -103,7 +103,7 @@ func TestOSCommandOpenFile(t *testing.T) {
for _, s := range scenarios {
OSCmd := NewDummyOSCommand()
OSCmd.Command = s.command
- OSCmd.Config.GetUserConfig().Set("os.openCommand", "open {{filename}}")
+ OSCmd.Config.GetUserConfig().OS.OpenCommand = "open {{filename}}"
s.test(OSCmd.OpenFile(s.filename))
}