Skip to content

Commit c8db607

Browse files
Lubrsilinusg
authored andcommitted
LibJS: Fix byteOffset copy-paste error in TypedArray byteLength test
1 parent 651becb commit c8db607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Userland/Libraries/LibJS/Tests/builtins/TypedArray/TypedArray.prototype.byteLength.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test("basic functionality", () => {
2020
if (!isBigIntArray) typedArray = new T.array([1, 2, 3]);
2121
else typedArray = new T.array([1n, 2n, 3n]);
2222

23-
expect(Object.hasOwn(typedArray, "byteOffset")).toBeFalse();
23+
expect(Object.hasOwn(typedArray, "byteLength")).toBeFalse();
2424
expect(typedArray.byteLength).toBe(T.expected);
2525
});
2626
});

0 commit comments

Comments
 (0)