1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00

LibJS/Tests: Fix typo in a test description

This commit is contained in:
Linus Groh 2021-11-30 20:42:04 +00:00
parent 5010d4c20c
commit 5ca242ce30

View file

@ -47,7 +47,7 @@ describe("parsing", () => {
expect(`let [ a, [ ...{length} ] ] = [];`).toEval();
});
test("function parameters cannot use member expresssions", () => {
test("function parameters cannot use member expressions", () => {
expect("function f([a.b]) {}").not.toEval();
expect("function f([b[0]]) {}").not.toEval();