Parcourir la source

LibJS/Tests: Fix typo in a test description

Linus Groh il y a 3 ans
Parent
commit
5ca242ce30

+ 1 - 1
Userland/Libraries/LibJS/Tests/syntax/destructuring-assignment.js

@@ -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();