mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
test: fix use of t.Logf where t.Log would suffice (#16328)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user