Skip to content

Commit 336231e

Browse files
committed
linting
1 parent bcf9ff6 commit 336231e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

provisioner/terraform/timings_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ package terraform_test
55
import (
66
"context"
77
"encoding/json"
8-
"fmt"
98
"os"
109
"path/filepath"
1110
"strings"
@@ -125,7 +124,7 @@ func TestTimingsFromProvision(t *testing.T) {
125124
for _, ti := range timings {
126125
totals[ti.Stage]++
127126
data, _ := json.Marshal(ti) // for debugging
128-
t.Log(fmt.Sprintf("Timings log :: %s", string(data)))
127+
t.Logf("Timings log (%s) :: %s", ti.Stage, string(data))
129128
}
130129
require.Equal(t, len(initTimings), totals["init"], "init")
131130
require.Equal(t, len(planTimings), totals["plan"], "plan")

0 commit comments

Comments
 (0)