Skip to content

Commit

Permalink
fix(test): register get_char on testutil
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Jun 23, 2023
1 parent 985afe5 commit b8275da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/logic/testutil/logic.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func NewComprehensiveInterpreterMust(ctx context.Context) (i *prolog.Interpreter
i.Register3(engine.NewAtom("bagof"), engine.BagOf)
i.Register1(engine.NewAtom("current_output"), engine.CurrentOutput)
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())
Expand Down

0 comments on commit b8275da

Please sign in to comment.