diff --git a/go/compiler_test.go b/go/compiler_test.go index daaea261f..5601b1ed6 100644 --- a/go/compiler_test.go +++ b/go/compiler_test.go @@ -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 }