X-Git-Url: https://git.ladys.computer/Pisces/blobdiff_plain/e7f1624844b6bb27626d982ac046fddf68845136..07762ac4c632a6436d43d50d58c8d91760e81e44:/function.test.js?ds=sidebyside diff --git a/function.test.js b/function.test.js index a5c8311..1b9ea74 100644 --- a/function.test.js +++ b/function.test.js @@ -668,7 +668,7 @@ describe("createProxyConstructor", () => { }); }); - describe("~", () => { + describe("()", () => { it("[[Call]] throws an error", () => { assertThrows(() => { createProxyConstructor({})(); @@ -713,7 +713,7 @@ describe("createProxyConstructor", () => { }); }); - describe("~is[[.name]]", () => { + describe("().is[[.name]]", () => { it("[[GetOwnProperty]] defines the appropriate method", () => { assertNotStrictEquals( Object.getOwnPropertyDescriptor( @@ -802,7 +802,7 @@ describe("createProxyConstructor", () => { }); }); - describe("~length", () => { + describe("().length", () => { it("[[GetOwnProperty]] has the correct descriptor", () => { assertEquals( Object.getOwnPropertyDescriptor( @@ -819,7 +819,7 @@ describe("createProxyConstructor", () => { }); }); - describe("~name", () => { + describe("().name", () => { it("[[GetOwnProperty]] has the correct descriptor", () => { assertEquals( Object.getOwnPropertyDescriptor( @@ -836,7 +836,7 @@ describe("createProxyConstructor", () => { }); }); - describe("~prototype", () => { + describe("().prototype", () => { it("[[GetOwnProperty]] has the correct descriptor", () => { assertEquals( Object.getOwnPropertyDescriptor( @@ -853,7 +853,7 @@ describe("createProxyConstructor", () => { }); }); - describe("~revocable", () => { + describe("().revocable", () => { it("[[Call]] produces a revocable proxy", () => { const obj = {}; const proxyConstructor = createProxyConstructor({