X-Git-Url: https://git.ladys.computer/Pisces/blobdiff_plain/3b7b484743da35b1772b3fb04378dc88f75fc41f..6e6d4e3261c1c943fe44fa9e381bcf8bf1441fd6:/string.test.js diff --git a/string.test.js b/string.test.js index 94aec37..95c715e 100644 --- a/string.test.js +++ b/string.test.js @@ -184,6 +184,12 @@ describe("Matcher", () => { }); }); + describe("::toString", () => { + it("[[Get]] does not throw an error", () => { + new Matcher(/(?:)/u).toString(); + }); + }); + describe("::unicode", () => { it("[[Get]] returns true when the unicode flag is present", () => { assertStrictEquals(new Matcher(/(?:)/u).unicode, true);