command: Fix TestInit_getProviderMissing
This one just needs a tweak for the new wording of the error message.
This commit is contained in:
parent
add7006de6
commit
fe9105abfe
|
@ -1145,7 +1145,7 @@ func TestInit_getProviderMissing(t *testing.T) {
|
||||||
t.Fatalf("expceted error, got output: \n%s", ui.OutputWriter.String())
|
t.Fatalf("expceted error, got output: \n%s", ui.OutputWriter.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
if !strings.Contains(ui.ErrorWriter.String(), "no suitable version for provider") {
|
if !strings.Contains(ui.ErrorWriter.String(), "no available releases match") {
|
||||||
t.Fatalf("unexpected error output: %s", ui.ErrorWriter)
|
t.Fatalf("unexpected error output: %s", ui.ErrorWriter)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue