Skip to content

Commit

Permalink
tests(go): fix broken test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Jun 30, 2024
1 parent b73aa90 commit 221623e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/compiler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 221623e

Please sign in to comment.