From 01e00ca5e25283dd652e7386149a40ed184e03f5 Mon Sep 17 00:00:00 2001 From: BaaRai <130491490+BaaRai@users.noreply.github.com> Date: Sat, 21 Nov 2026 08:14:56 +0100 Subject: [PATCH] style(agent): gofmt the adversarial bench capture-case cleanup gofmt keeps a one-line function literal only while its body stays short; the asset cleanup in TestAdversarialBenchTrafficRefMissingFromCaptureRefusedPG exceeded that, so gofmt -l flagged the committed file. No behavior change. --- agent/p43_adversarial_bench_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/agent/p43_adversarial_bench_test.go b/agent/p43_adversarial_bench_test.go index 932b787..c07b52d 100644 --- a/agent/p43_adversarial_bench_test.go +++ b/agent/p43_adversarial_bench_test.go @@ -578,7 +578,9 @@ func TestAdversarialBenchTrafficRefMissingFromCaptureRefusedPG(t *testing.T) { if err != nil { t.Fatal(err) } - t.Cleanup(func() { _, _ = d.Exec(`DELETE FROM assets WHERE id=$1 OR domain LIKE '%p43-bench.example.test'`, assetID) }) + t.Cleanup(func() { + _, _ = d.Exec(`DELETE FROM assets WHERE id=$1 OR domain LIKE '%p43-bench.example.test'`, assetID) + }) store := d.Exploration(task.ExplorationID) tr := p43Capture(t)