From 221623e6b1eb415b7ca0c913df2351f375a7f7ae Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Sun, 30 Jun 2024 15:59:04 +0200 Subject: [PATCH] tests(go): fix broken test case. --- go/compiler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/compiler_test.go b/go/compiler_test.go index 5601b1ed6..9ffe0c295 100644 --- a/go/compiler_test.go +++ b/go/compiler_test.go @@ -42,7 +42,7 @@ func TestRelaxedReSyntax(t *testing.T) { func TestErrorOnSlowPattern(t *testing.T) { _, err := Compile(` - rule test { strings: $a = /a.*b/ condition: $a }`, + rule test { strings: $a = /a.*/ condition: $a }`, ErrorOnSlowPattern(true)) assert.Error(t, err) }