From 310297a9ca514f65e2ce1fe692b6ec76a1353621 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Tue, 23 Sep 2025 10:28:55 +1200 Subject: [PATCH] integration tests: fix unsafe logging --- internal/tshelpers/custom_commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tshelpers/custom_commands.go b/internal/tshelpers/custom_commands.go index 738cf1157d..be0bd7f40c 100644 --- a/internal/tshelpers/custom_commands.go +++ b/internal/tshelpers/custom_commands.go @@ -431,7 +431,7 @@ func byteCompareInternal(ts *testscript.TestScript, neg bool, aData, eData []byt return } - ts.Logf(aText) + ts.Logf("%s", aText) var sb strings.Builder if err := diff.Text(eFilePath, aFilePath, eText, aText, &sb); err != nil {