command: Fix TestInit_getProviderMissing

This one just needs a tweak for the new wording of the error message.
This commit is contained in:
Martin Atkins 2020-04-01 10:51:26 -07:00
parent add7006de6
commit fe9105abfe
1 changed files with 1 additions and 1 deletions

View File

@ -1145,7 +1145,7 @@ func TestInit_getProviderMissing(t *testing.T) {
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)
}
}