fix error output
This commit is contained in:
parent
afe8b67b95
commit
22440539c1
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue