summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorBlakeMScurr <blakemscurr@gmail.com>2018-11-28 12:33:52 +1300
committerBlakeMScurr <blakemscurr@gmail.com>2018-11-28 15:31:22 +1300
commit5c70d2724b508c3021558162fbfd9792c2d77e63 (patch)
tree7527cc278142c80471b4301fc0e8dc05313e32d3 /pkg
parent55712f509c7db3a9283e4c077f84208ff8813f3f (diff)
Fix function comments with CodeLingo.
Diffstat (limited to 'pkg')
-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()