summaryrefslogtreecommitdiff
path: root/integrationtests/dtailhealth_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrationtests/dtailhealth_test.go')
-rw-r--r--integrationtests/dtailhealth_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrationtests/dtailhealth_test.go b/integrationtests/dtailhealth_test.go
index 49fbd38..7946824 100644
--- a/integrationtests/dtailhealth_test.go
+++ b/integrationtests/dtailhealth_test.go
@@ -20,7 +20,7 @@ func TestDTailHealth1(t *testing.T) {
t.Log("Serverless check, is supposed to exit with warning state.")
exitCode, err := runCommand(context.TODO(), t, outFile, "../dtailhealth")
if exitCode != 1 {
- t.Error(fmt.Sprintf("Expected exit code '1' but got '%d': %v", exitCode, err))
+ t.Errorf("Expected exit code '1' but got '%d': %v", exitCode, err)
return
}