From 4cc80234ae111f932b6ba5acbb143328ce859f75 Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Mon, 25 Mar 2024 22:15:41 +0100 Subject: [PATCH] tests: fix broken test case --- go/compiler_test.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/go/compiler_test.go b/go/compiler_test.go index a01c50a67..426e8d071 100644 --- a/go/compiler_test.go +++ b/go/compiler_test.go @@ -92,11 +92,9 @@ func TestError(t *testing.T) { c := NewCompiler() err := c.AddSource("rule test { condition: foo }") assert.EqualError(t, err, `error: unknown identifier `+"`foo`"+` - ╭─[line:1:24] - │ - 1 │ rule test { condition: foo } - │ ─┬─ - │ ╰─── this identifier has not been declared -───╯ -`) + --> line:1:24 + | +1 | rule test { condition: foo } + | ^^^ this identifier has not been declared + |`) }