crowdsec/pkg/exprhelpers/debuggerstub_test.go
mmetc 9ef5f58f88
test pkg/exprhelpers: explicit message if the tag "expr_debug" is missing (#3400)
* test pkg/exprhelpers: explicit message if the tag "expr_debug" is missing

* typo

* lint: use build tag expr_debug while linting

* lint
2025-01-15 12:13:54 +01:00

10 lines
186 B
Go

//go:build !expr_debug
package exprhelpers
import (
"testing"
)
func TestFailWithoutExprDebug(t *testing.T) {
t.Fatal("To test pkg/exprhelpers, you need the expr_debug build tag")
}