summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/commands/os.go2
-rw-r--r--pkg/commands/os_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go
index 2caedf07d..8b4b7879e 100644
--- a/pkg/commands/os.go
+++ b/pkg/commands/os.go
@@ -109,7 +109,7 @@ func (c *OSCommand) OpenFile(filename string) error {
return err
}
-// OpenFile opens a file with the given
+// OpenLink opens a file with the given
func (c *OSCommand) OpenLink(link string) error {
commandTemplate := c.Config.GetUserConfig().GetString("os.openLinkCommand")
templateValues := map[string]string{
diff --git a/pkg/commands/os_test.go b/pkg/commands/os_test.go
index aeef4a6e5..9a238c1a3 100644
--- a/pkg/commands/os_test.go
+++ b/pkg/commands/os_test.go
@@ -278,7 +278,7 @@ func TestOSCommandQuoteSingleQuote(t *testing.T) {
assert.EqualValues(t, expected, actual)
}
-// TestOSCommandQuoteSingleQuote tests the quote function with " quotes explicitly for Linux
+// TestOSCommandQuoteDoubleQuote tests the quote function with " quotes explicitly for Linux
func TestOSCommandQuoteDoubleQuote(t *testing.T) {
osCommand := newDummyOSCommand()