From d152d13beaf00b474b844a79e5a17591c311801f Mon Sep 17 00:00:00 2001 From: James Bardin Date: Tue, 14 Apr 2020 14:50:43 -0400 Subject: [PATCH] fix error output in repl test The module error is unfortunately less specific at the moment, but change the error text here to match. --- repl/session_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repl/session_test.go b/repl/session_test.go index 59545c278..27eb10567 100644 --- a/repl/session_test.go +++ b/repl/session_test.go @@ -125,7 +125,7 @@ func TestSession_basicState(t *testing.T) { { Input: "module.module.foo", Error: true, - ErrorContains: `An output value with the name "foo" has not been declared in module.module`, + ErrorContains: `Unsupported attribute: This object does not have an attribute named "foo"`, }, }, })