summaryrefslogtreecommitdiffstats
path: root/pkg/commands/os_test.go
diff options
context:
space:
mode:
authorSascha Andres <sascha.andres@outlook.com>2018-09-10 10:31:15 +0200
committerSascha Andres <sascha.andres@outlook.com>2018-09-10 10:31:15 +0200
commitbb9698810d92dd1d59a0ee0e1ef192dee588036d (patch)
tree6073edf49f00c028e4f03241fd215bba073cf07f /pkg/commands/os_test.go
parent74144e3892253f72d703e3b324fb8459a0d45369 (diff)
refactor: move fallback to platform struct
Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
Diffstat (limited to 'pkg/commands/os_test.go')
-rw-r--r--pkg/commands/os_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/os_test.go b/pkg/commands/os_test.go
index 456c54e04..57c92d688 100644
--- a/pkg/commands/os_test.go
+++ b/pkg/commands/os_test.go
@@ -272,7 +272,7 @@ func TestOSCommandQuoteSingleQuote(t *testing.T) {
actual := osCommand.Quote("hello 'test'")
- expected := osCommand.Platform.escapedQuote + "hello 'test'" + osCommand.Platform.escapedQuote
+ expected := osCommand.Platform.fallbackEscapedQuote + "hello 'test'" + osCommand.Platform.fallbackEscapedQuote
assert.EqualValues(t, expected, actual)
}