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.
This commit is contained in:
BaaRai
2026-11-21 08:14:56 +01:00
parent c0e3a3189f
commit 01e00ca5e2
+3 -1
View File
@@ -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)