Skip to content

Commit c96790a

Browse files
author
Antoine Pelisse
committed
Fix display of comparison error
The string is slightly awkward to read, add an extra new-line to make it look better.
1 parent c1e62e3 commit c96790a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/fixture/state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func (tc TestCase) Test(parser typed.ParseableType) error {
249249
return fmt.Errorf("failed to compare live with config: %v", err)
250250
}
251251
if !comparison.IsSame() {
252-
return fmt.Errorf("expected live and config to be the same: %v", comparison)
252+
return fmt.Errorf("expected live and config to be the same:\n%v", comparison)
253253
}
254254
}
255255

0 commit comments

Comments
 (0)