mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-30 16:45:47 +02:00
Fixed TestExec
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user