@@ -33,7 +33,7 @@ func TestShakaExecutorRun(t *testing.T) {
3333 ctx := context .Background ()
3434
3535 mockRunner := & MockCommandRunner {}
36- mockRunner .On ("CommandContext" , ctx , "mock_binary" , []string {"" }).
36+ mockRunner .On ("CommandContext" , ctx , "mock_binary" , []string {"\\ " }).
3737 Return (exec .Command ("echo" , "hello world" ))
3838
3939 shaka := NewShakaPackager ("mock_binary" )
@@ -48,15 +48,15 @@ func TestShakaExecutorRun(t *testing.T) {
4848
4949 // then
5050 require .NoError (t , err )
51- mockRunner .AssertCalled (t , "CommandContext" , ctx , "mock_binary" , []string {"" })
51+ mockRunner .AssertCalled (t , "CommandContext" , ctx , "mock_binary" , []string {"\\ " })
5252}
5353
5454func TestShakaExecutorRunError (t * testing.T ) {
5555 // given
5656 ctx := context .Background ()
5757
5858 mockRunner := & MockCommandRunner {}
59- mockRunner .On ("CommandContext" , ctx , "shaka-packager" , []string {"" }).
59+ mockRunner .On ("CommandContext" , ctx , "shaka-packager" , []string {"\\ " }).
6060 Return (exec .Command ("false" ))
6161
6262 shaka := NewShakaPackager ("shaka-packager" )
0 commit comments