mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
LibJS: Fix byteOffset copy-paste error in TypedArray byteLength test
This commit is contained in:
parent
651becbfb1
commit
c8db607c00
Notes:
sideshowbarker
2024-07-18 10:19:23 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/c8db607c00b Pull-request: https://github.com/SerenityOS/serenity/pull/8481
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ test("basic functionality", () => {
|
|||
if (!isBigIntArray) typedArray = new T.array([1, 2, 3]);
|
||||
else typedArray = new T.array([1n, 2n, 3n]);
|
||||
|
||||
expect(Object.hasOwn(typedArray, "byteOffset")).toBeFalse();
|
||||
expect(Object.hasOwn(typedArray, "byteLength")).toBeFalse();
|
||||
expect(typedArray.byteLength).toBe(T.expected);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue