We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6629d7d commit 0feaaecCopy full SHA for 0feaaec
test/stringWriterSpec.js
@@ -20,7 +20,7 @@ describe("StringWriter", function() {
20
it("fails if out of bounds", function(done) {
21
const w = new StringWriter(10)
22
w.once("error", (err) => {
23
- assert.match(err.message, /out of bounds/i)
+ assert.match(err.message, /Maximum bytes exceeded/i)
24
done()
25
})
26
w.write(Buffer.from("hello"))
0 commit comments