From f4b26b0cea109b3a7bfbe2c9ce207b273ad39cf1 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Sat, 16 Jul 2022 10:14:03 +0430 Subject: LibJS: Hook up the 'v' (unicodeSets) RegExp flag --- .../Libraries/LibJS/Tests/builtins/RegExp/RegExp.prototype.flags.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Userland/Libraries/LibJS/Tests') 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"); }); -- cgit v1.2.3