diff --git a/terraform/context_validate_test.go b/terraform/context_validate_test.go index d90db6602..4ea281999 100644 --- a/terraform/context_validate_test.go +++ b/terraform/context_validate_test.go @@ -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()) } }