From fb7aad40995774a6b20cf673e9866245850d95c1 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Wed, 18 Dec 2019 17:17:56 +0100 Subject: [PATCH] Fix remaining console test --- console/console_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/console_test.go b/console/console_test.go index 89dd7cd838..9a2b474442 100644 --- a/console/console_test.go +++ b/console/console_test.go @@ -289,7 +289,7 @@ func TestPrettyError(t *testing.T) { defer tester.Close(t) tester.console.Evaluate("throw 'hello'") - want := jsre.ErrorColor("hello") + "\n" + want := jsre.ErrorColor("hello") + "\n\tat :1:7(1)\n\n" if output := tester.output.String(); output != want { t.Fatalf("pretty error mismatch: have %s, want %s", output, want) }