diff options
author | 2022-11-27 20:04:57 -0800 | |
---|---|---|
committer | 2022-11-27 20:04:57 -0800 | |
commit | 427203874355abb4e1b1f97852a9fea2d4a5aa14 (patch) | |
tree | d6c15506b9f0b601300f859ea5fe89077f244a49 /test/bun.js/buffer.test.js | |
parent | 002f4ecc9e0dfb19ea9e5032b812b9b976706995 (diff) | |
download | bun-427203874355abb4e1b1f97852a9fea2d4a5aa14.tar.gz bun-427203874355abb4e1b1f97852a9fea2d4a5aa14.tar.zst bun-427203874355abb4e1b1f97852a9fea2d4a5aa14.zip |
Fix failing buffer tests
Diffstat (limited to 'test/bun.js/buffer.test.js')
-rw-r--r-- | test/bun.js/buffer.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bun.js/buffer.test.js b/test/bun.js/buffer.test.js index 5a367f725..14394bd2a 100644 --- a/test/bun.js/buffer.test.js +++ b/test/bun.js/buffer.test.js @@ -596,7 +596,7 @@ it("Buffer.from(base64)", () => { expect(buf.toString()).toBe("hello world"); expect( - Buffer.from(btoa('console.log("hello world")\n'), "base64").toString() + Buffer.from(btoa('console.log("hello world")\n'), "base64").toString(), ).toBe('console.log("hello world")\n'); }); @@ -608,7 +608,7 @@ it("Buffer.toString(base64)", () => { { expect(Buffer.from(`console.log("hello world")\n`).toString("base64")).toBe( - btoa('console.log("hello world")\n') + btoa('console.log("hello world")\n'), ); } }); |