From a5ef9ee468d58d087c0eb75633b8704f8e01fd9d Mon Sep 17 00:00:00 2001 From: Benjamin DENEUX Date: Tue, 20 Jun 2023 12:03:39 +0200 Subject: [PATCH] fix(test): register get_char on testutil --- x/logic/testutil/logic.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/logic/testutil/logic.go b/x/logic/testutil/logic.go index 65147b12..482c132f 100644 --- a/x/logic/testutil/logic.go +++ b/x/logic/testutil/logic.go @@ -49,6 +49,7 @@ func NewComprehensiveInterpreterMust(ctx context.Context) (i *prolog.Interpreter i.Register1(engine.NewAtom("current_output"), engine.CurrentOutput) i.Register1(engine.NewAtom("current_input"), engine.CurrentInput) i.Register2(engine.NewAtom("put_char"), engine.PutChar) + i.Register2(engine.NewAtom("get_char"), engine.GetChar) i.Register3(engine.NewAtom("write_term"), engine.WriteTerm) err := i.Compile(ctx, bootstrap.Bootstrap())