diff options
Diffstat (limited to 'test/bun.js/concat.test.js')
-rw-r--r-- | test/bun.js/concat.test.js | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/test/bun.js/concat.test.js b/test/bun.js/concat.test.js index 35cec4f8b..36421cab6 100644 --- a/test/bun.js/concat.test.js +++ b/test/bun.js/concat.test.js @@ -27,20 +27,18 @@ describe("concat", () => { } it("works with one element", () => { - expect(concatToString([new Uint8Array([123])])).toBe( - polyfillToString([new Uint8Array([123])]), - ); + expect(concatToString([new Uint8Array([123])])).toBe(polyfillToString([new Uint8Array([123])])); }); it("works with two elements", () => { - expect( - concatToString([Uint8Array.from([123]), Uint8Array.from([456])]), - ).toBe(polyfillToString([Uint8Array.from([123]), Uint8Array.from([456])])); + expect(concatToString([Uint8Array.from([123]), Uint8Array.from([456])])).toBe( + polyfillToString([Uint8Array.from([123]), Uint8Array.from([456])]), + ); }); it("works with mix of ArrayBuffer and TypedArray elements", () => { - expect( - concatToString([Uint8Array.from([123]).buffer, Uint8Array.from([456])]), - ).toBe(polyfillToString([Uint8Array.from([123]), Uint8Array.from([456])])); + expect(concatToString([Uint8Array.from([123]).buffer, Uint8Array.from([456])])).toBe( + polyfillToString([Uint8Array.from([123]), Uint8Array.from([456])]), + ); }); }); |