summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-11-30 20:42:04 +0000
committerLinus Groh <mail@linusgroh.de>2021-11-30 20:42:04 +0000
commit5ca242ce300b8eb1ecb49167d4beb60f8ead9c15 (patch)
tree5af381d62fdea3022a096247d5d6773527a38f1c /Userland/Libraries/LibJS
parent5010d4c20c936f0a628bf1c6347f438ee0808ac5 (diff)
downloadserenity-5ca242ce300b8eb1ecb49167d4beb60f8ead9c15.zip
LibJS/Tests: Fix typo in a test description
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r--Userland/Libraries/LibJS/Tests/syntax/destructuring-assignment.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Tests/syntax/destructuring-assignment.js b/Userland/Libraries/LibJS/Tests/syntax/destructuring-assignment.js
index 198561c4a8..9a7682ddbc 100644
--- a/Userland/Libraries/LibJS/Tests/syntax/destructuring-assignment.js
+++ b/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();