command: Fix TestInit_getProviderMissing

This one just needs a tweak for the new wording of the error message.
pull/24518/head
Martin Atkins 6 years ago
parent c5697cfbb1
commit 8b6ff47929

@ -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)
}
}

Loading…
Cancel
Save