diff --git a/bindings/javascript/src/index.spec.ts b/bindings/javascript/src/index.spec.ts index 6ac51282f..2193bbb86 100644 --- a/bindings/javascript/src/index.spec.ts +++ b/bindings/javascript/src/index.spec.ts @@ -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')); } })