Fixed TestExec

pull/13/head
Paulo Truta 2021-06-12 12:57:31 +00:00
parent 4613ca7820
commit bd889304ca
1 changed files with 2 additions and 2 deletions

View File

@ -9,12 +9,12 @@ import (
func TestExec(t *testing.T) {
testCommand := "echo"
testArguments := []string{"'Hello World'"}
testArguments := []string{"Hello World"}
result := Exec("/", testCommand, testArguments)
if result != "Hello World" {
t.Log("Expected 'Hellow World' but got ", result)
t.Log("Expected 'Hello World' but got ", result)
t.Fail()
}
}