Skip to content

printErr not working as expected #105

@jeswr

Description

@jeswr

The test

it(`[${name}] ` + "should run throwing query", async () => {
const swipl = await SWIPL({ arguments: ["-q"], ...addedParams });
const response = swipl.prolog.query("throw(error(test, _))").once();
assert.strictEqual(response.error, true);
});
logs to the console even when a print: () => {} and printErr: () => {} options are added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions