mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
core: logDiagnostics test helper must call t.Helper()
This commit is contained in:
parent
6b1430a2b3
commit
084e25c60a
@ -972,6 +972,7 @@ func assertNoErrors(t *testing.T, diags tfdiags.Diagnostics) {
|
||||
// assertNoDiagnostics and assertNoErrors for more specific helpers that can
|
||||
// also fail the test.
|
||||
func logDiagnostics(t *testing.T, diags tfdiags.Diagnostics) {
|
||||
t.Helper()
|
||||
for _, diag := range diags {
|
||||
desc := diag.Description()
|
||||
rng := diag.Source()
|
||||
|
Loading…
Reference in New Issue
Block a user