X-Git-Url: https://git.ladys.computer/Pisces/blobdiff_plain/0b2e1cbf082ff80ae6fd42d028e08d6382a4622b..e7f1624844b6bb27626d982ac046fddf68845136:/function.test.js?ds=sidebyside diff --git a/function.test.js b/function.test.js index bf0e907..a5c8311 100644 --- a/function.test.js +++ b/function.test.js @@ -1,11 +1,14 @@ -// ♓🌟 Piscēs ∷ function.test.js -// ==================================================================== -// -// Copyright © 2022–2023 Lady [@ Lady’s Computer]. -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at . +// SPDX-FileCopyrightText: 2022, 2023, 2025 Lady +// SPDX-License-Identifier: MPL-2.0 +/** + * ⁌ ♓🧩 Piscēs ∷ function.test.js + * + * Copyright © 2022–2023, 2025 Lady [@ Ladys Computer]. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at . + */ import { assert, @@ -338,8 +341,8 @@ describe("createArrowFunction", () => { it("[[Call]] returns a function with no prototype property", () => { assert( - !("prototype" in - createArrowFunction(function () {}, { prototype: {} })), + !("prototype" + in createArrowFunction(function () {}, { prototype: {} })), ); }); @@ -430,8 +433,8 @@ describe("createCallableFunction", () => { it("[[Call]] returns a function with no prototype property", () => { assert( - !("prototype" in - createCallableFunction(function () {}, { prototype: {} })), + !("prototype" + in createCallableFunction(function () {}, { prototype: {} })), ); });