1
0
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:
Sascha Andres 2018-09-10 17:36:59 +02:00
parent 9ec5a04cf5
commit 985196f5aa

View File

@ -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()