Skip to content

Commit

Permalink
tests(go): fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Aug 6, 2024
1 parent 3edc342 commit ec68395
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 @@ -107,7 +107,7 @@ func TestVariables(t *testing.T) {

func TestError(t *testing.T) {
_, err := Compile("rule test { condition: foo }")
assert.EqualError(t, err, `error[E107]: unknown identifier `+"`foo`"+`
assert.EqualError(t, err, `error[E009]: unknown identifier `+"`foo`"+`
--> line:1:24
|
1 | rule test { condition: foo }
Expand Down

0 comments on commit ec68395

Please sign in to comment.