This commit is contained in:
Jesse Duffield 2022-05-09 21:32:33 +10:00
parent 6bc57b7628
commit afe824a3d6

View file

@ -169,6 +169,8 @@ func TestOSCommandQuoteSingleQuote(t *testing.T) {
osCommand := NewDummyOSCommand()
osCommand.Platform.os = "linux"
osCommand.Platform.fallbackEscapedQuote = "\""
osCommand.Platform.escapedQuote = "'"
actual := osCommand.Quote("hello 'test'")