mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-28 09:08:41 +02:00
docs: add comments for new test code
This commit is contained in:
parent
9ec5a04cf5
commit
985196f5aa
@ -265,6 +265,7 @@ func TestOSCommandQuote(t *testing.T) {
|
|||||||
assert.EqualValues(t, expected, actual)
|
assert.EqualValues(t, expected, actual)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TestOSCommandQuoteSingleQuote tests the quote function with ' quotes explicitly for Linux
|
||||||
func TestOSCommandQuoteSingleQuote(t *testing.T) {
|
func TestOSCommandQuoteSingleQuote(t *testing.T) {
|
||||||
osCommand := newDummyOSCommand()
|
osCommand := newDummyOSCommand()
|
||||||
|
|
||||||
@ -277,6 +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
|
||||||
func TestOSCommandQuoteDoubleQuote(t *testing.T) {
|
func TestOSCommandQuoteDoubleQuote(t *testing.T) {
|
||||||
osCommand := newDummyOSCommand()
|
osCommand := newDummyOSCommand()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user