summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Tests
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-07-16 10:14:03 +0430
committerLinus Groh <mail@linusgroh.de>2022-07-20 21:25:59 +0100
commitf4b26b0cea109b3a7bfbe2c9ce207b273ad39cf1 (patch)
tree4a6063e2d668d892414bae7d77db432a4ab0aa3b /Userland/Libraries/LibJS/Tests
parent598dc74a7607fd6c0cbf31ce614f1d30b7164aae (diff)
downloadserenity-f4b26b0cea109b3a7bfbe2c9ce207b273ad39cf1.zip
LibJS: Hook up the 'v' (unicodeSets) RegExp flag
Diffstat (limited to 'Userland/Libraries/LibJS/Tests')
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/RegExp/RegExp.prototype.flags.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/RegExp/RegExp.prototype.flags.js b/Userland/Libraries/LibJS/Tests/builtins/RegExp/RegExp.prototype.flags.js
index 6d548ee935..aea62d8d0c 100644
--- a/Userland/Libraries/LibJS/Tests/builtins/RegExp/RegExp.prototype.flags.js
+++ b/Userland/Libraries/LibJS/Tests/builtins/RegExp/RegExp.prototype.flags.js
@@ -5,8 +5,11 @@ test("basic functionality", () => {
expect(/foo/i.flags).toBe("i");
expect(/foo/m.flags).toBe("m");
expect(/foo/s.flags).toBe("s");
+ expect(/foo/v.flags).toBe("v");
expect(/foo/u.flags).toBe("u");
expect(/foo/y.flags).toBe("y");
// prettier-ignore
expect(/foo/dsgimyu.flags).toBe("dgimsuy");
+ // prettier-ignore
+ expect(/foo/dgimsvy.flags).toBe("dgimsvy");
});