]>
Lady’s Gitweb - Sutra/blob - xsd/productions.test.js
1 // ♓️🪡 सूत्र ∷ xsd/productions.test.js
2 // ====================================================================
4 // Copyright © 2023 Lady [@ Lady’s Computer].
6 // This Source Code Form is subject to the terms of the Mozilla Public
7 // License, v. 2.0. If a copy of the MPL was not distributed with this
8 // file, You can obtain one at <https://mozilla.org/MPL/2.0/>.
10 import { assert
, assertStrictEquals
} from "../dev-deps.js";
11 import * as productions
from "./productions.js";
13 Deno
.test("Exports a correctly‐named value for each production", () => {
14 for (const [name
, matcher
] of Object
.entries(productions
)) {
15 assert(matcher
!= null, name
);
16 assertStrictEquals(matcher
.name
, name
);
This page took 0.136026 seconds and 5 git commands to generate.