Skip to content

Commit

Permalink
tests(go): fix case for Golang library
Browse files Browse the repository at this point in the history
After adding error and warnings codes to the messages in #140, the Go tests were not updated accordingly.
  • Loading branch information
plusvic committed Jun 30, 2024
1 parent 220eb08 commit b93c5c2
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: unknown identifier `+"`foo`"+`
assert.EqualError(t, err, `error[E107]: unknown identifier `+"`foo`"+`
--> line:1:24
|
1 | rule test { condition: foo }
Expand Down

0 comments on commit b93c5c2

Please sign in to comment.