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:
parent
55712f509c
commit
5c70d2724b
@ -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{
|
||||||
|
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user