test: fix use of t.Logf where t.Log would suffice (#16328)

This commit is contained in:
Mathias Fredriksson
2025-01-29 14:35:04 +00:00
committed by GitHub
parent 6caa29a29f
commit c069563af1
15 changed files with 39 additions and 39 deletions
@@ -40,7 +40,7 @@ func TimingsAreEqual(t *testing.T, expected []*proto.Timing, actual []*proto.Tim
// Shortcut check.
if len(expected)+len(actual) == 0 {
t.Logf("both timings are empty")
t.Log("both timings are empty")
return true
}
+1 -1
View File
@@ -28,7 +28,7 @@ func TestTimingsFromProvision(t *testing.T) {
// Given: a fake terraform bin that behaves as we expect it to.
fakeBin := filepath.Join(cwd, "testdata", "timings-aggregation/fake-terraform.sh")
t.Logf(fakeBin)
t.Log(fakeBin)
ctx, api := setupProvisioner(t, &provisionerServeOptions{
binaryPath: fakeBin,