From 5c70d2724b508c3021558162fbfd9792c2d77e63 Mon Sep 17 00:00:00 2001 From: BlakeMScurr Date: Wed, 28 Nov 2018 12:33:52 +1300 Subject: [PATCH] Fix function comments with CodeLingo. --- pkg/commands/os.go | 2 +- pkg/commands/os_test.go | 2 +- 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()