]> Lady’s Gitweb - Pisces/blobdiff - string.test.js
Add methods for own entries and values to object.js
[Pisces] / string.test.js
index 47a87db4aeefd98060f71242d2141546db30ff3e..ee0e2097328535d6cbd1af583152d62ae74062b2 100644 (file)
@@ -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);
This page took 0.01883 seconds and 4 git commands to generate.