mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 20:05:55 +02:00
* test pkg/exprhelpers: explicit message if the tag "expr_debug" is missing * typo * lint: use build tag expr_debug while linting * lint
10 lines
186 B
Go
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")
|
|
}
|