X-Git-Url: https://git.ladys.computer/Pisces/blobdiff_plain/6ff9787a78f601e65581024fe605698c75f9dd05..refs/heads/current:/string.test.js?ds=sidebyside diff --git a/string.test.js b/string.test.js index 47a87db..ee0e209 100644 --- a/string.test.js +++ b/string.test.js @@ -110,6 +110,12 @@ describe("Matcher", () => { }); }); + describe("::constructor", () => { + it("[[Get]] returns the same constructor", () => { + assertStrictEquals(new Matcher(/(?:)/su).constructor, Matcher); + }); + }); + describe("::dotAll", () => { it("[[Get]] returns true when the dotAll flag is present", () => { assertStrictEquals(new Matcher(/(?:)/su).dotAll, true);