Better visibility for test result log of TestExec
parent
35442bc156
commit
e19a830e29
|
@ -14,7 +14,7 @@ func TestExec(t *testing.T) {
|
||||||
result := Exec("/", testCommand, testArguments)
|
result := Exec("/", testCommand, testArguments)
|
||||||
|
|
||||||
if result != "Hello World" {
|
if result != "Hello World" {
|
||||||
t.Log("Expected 'Hello World' but got ", "'"+result+"'")
|
t.Log("Expected 'Hello World' but got", "'"+result+"'")
|
||||||
t.Fail()
|
t.Fail()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue