1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-05-29 23:17:32 +02:00

Fix function comments with CodeLingo.

This commit is contained in:
BlakeMScurr 2018-11-28 12:33:52 +13:00
parent 55712f509c
commit 5c70d2724b
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ func (c *OSCommand) OpenFile(filename string) error {
return err return err
} }
// OpenFile opens a file with the given // OpenLink opens a file with the given
func (c *OSCommand) OpenLink(link string) error { func (c *OSCommand) OpenLink(link string) error {
commandTemplate := c.Config.GetUserConfig().GetString("os.openLinkCommand") commandTemplate := c.Config.GetUserConfig().GetString("os.openLinkCommand")
templateValues := map[string]string{ templateValues := map[string]string{

View File

@ -278,7 +278,7 @@ func TestOSCommandQuoteSingleQuote(t *testing.T) {
assert.EqualValues(t, expected, actual) 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) { func TestOSCommandQuoteDoubleQuote(t *testing.T) {
osCommand := newDummyOSCommand() osCommand := newDummyOSCommand()