mirror of https://github.com/knative/func.git
add vars to prompt tests
This commit is contained in:
parent
ac0845c909
commit
6c9de8c7f0
|
@ -122,7 +122,7 @@ func TestForStringRequired(t *testing.T) {
|
|||
output := string(out.Bytes())
|
||||
expected := ": \nplease enter a value\n: "
|
||||
if output != expected {
|
||||
t.Fatalf("Unexpected prompt received for a required value.", expected, output)
|
||||
t.Fatalf("Unexpected prompt received for a required value. expected '%v', got '%v'", expected, output)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue