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 9af2390 commit a5ef9ee
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 @@ -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())
Expand Down

0 comments on commit a5ef9ee

Please sign in to comment.