summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Andres <sascha.andres@outlook.com>2018-09-10 17:36:59 +0200
committerSascha Andres <sascha.andres@outlook.com>2018-09-10 17:36:59 +0200
commit985196f5aa2fd0ef23e6a6aee93f7600f5aef63d (patch)
tree8385dd17ad40ce7ca2cef96e03171ca257e97675
parent9ec5a04cf5679cda253c1bc1f9910c15d1bbefba (diff)
docs: add comments for new test code
-rw-r--r--pkg/commands/os_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/commands/os_test.go b/pkg/commands/os_test.go
index 57c92d688..aeef4a6e5 100644
--- a/pkg/commands/os_test.go
+++ b/pkg/commands/os_test.go
@@ -265,6 +265,7 @@ func TestOSCommandQuote(t *testing.T) {
assert.EqualValues(t, expected, actual)
}
+// TestOSCommandQuoteSingleQuote tests the quote function with ' quotes explicitly for Linux
func TestOSCommandQuoteSingleQuote(t *testing.T) {
osCommand := newDummyOSCommand()
@@ -277,6 +278,7 @@ func TestOSCommandQuoteSingleQuote(t *testing.T) {
assert.EqualValues(t, expected, actual)
}
+// TestOSCommandQuoteSingleQuote tests the quote function with " quotes explicitly for Linux
func TestOSCommandQuoteDoubleQuote(t *testing.T) {
osCommand := newDummyOSCommand()