Skip to content

Commit

Permalink
test(logic): add current_input/1 predicate on ComprehensiveInterprete…
Browse files Browse the repository at this point in the history
…r for test
  • Loading branch information
bdeneux committed Jun 15, 2023
1 parent 8870251 commit 752e6e1
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 @@ -46,6 +46,7 @@ func NewComprehensiveInterpreterMust(ctx context.Context) (i *prolog.Interpreter
i.Register1(engine.NewAtom("consult"), engine.Consult)
i.Register3(engine.NewAtom("bagof"), engine.BagOf)
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.Register3(engine.NewAtom("write_term"), engine.WriteTerm)

Expand Down

0 comments on commit 752e6e1

Please sign in to comment.