fix error output

This commit is contained in:
Ben Drucker 2020-11-09 16:26:17 -08:00
parent afe8b67b95
commit 22440539c1
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ func TestContext2Validate_providerConfig_skippedEmpty(t *testing.T) {
diags := c.Validate()
if diags.HasErrors() {
t.Fatalf("unexpected error: %v", diags)
t.Fatalf("unexpected error: %s", diags.Err())
}
}