Skip to content

Commit

Permalink
test(js): fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-cristino committed Oct 12, 2023
1 parent 6c11f1a commit 920ca0b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bindings/javascript/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ test("error format contains newlines", async t => {
await zencode_exec(`a`);
} catch (e) {
const lines = e.logs.split('\n');
t.true(lines.includes('Zencode parser error'));
t.true(lines.includes('Zencode text too short to parse'));
t.true(lines.includes('[!] Zencode parser error'));
}
})

Expand Down

0 comments on commit 920ca0b

Please sign in to comment.