From 37fc50352c1df37c38c2a00409f195a197e2183c Mon Sep 17 00:00:00 2001 From: Ankur Shrivastava Date: Wed, 1 Apr 2026 21:49:45 +0800 Subject: [PATCH] fix: escape $ in Makefile bench target for correct regex Use ^$$ so Make passes literal ^$ to the shell, ensuring go test -run matches no test names (benchmarks only). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9b6d9c7..3683a60 100644 --- a/Makefile +++ b/Makefile @@ -13,4 +13,4 @@ lint: go tool govulncheck ./... bench: - go test -run=^$ -bench=. -benchmem ./... + go test -run=^$$ -bench=. -benchmem ./...