mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
test: fix use of t.Logf
where t.Log
would suffice (#16328)
This commit is contained in:
committed by
GitHub
parent
6caa29a29f
commit
c069563af1
@ -309,8 +309,8 @@ func TestDeploymentValues_DurationFormatNanoseconds(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
t.Logf("Option %q is a duration but does not have the format_duration annotation.", s.Name)
|
||||
t.Logf("To fix this, add the following to the option declaration:")
|
||||
t.Logf(`Annotations: serpent.Annotations{}.Mark(annotationFormatDurationNS, "true"),`)
|
||||
t.Log("To fix this, add the following to the option declaration:")
|
||||
t.Log(`Annotations: serpent.Annotations{}.Mark(annotationFormatDurationNS, "true"),`)
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user