From 2f92da884ea1572c9082c22754868fd3a6812cb6 Mon Sep 17 00:00:00 2001 From: king8fisher <140904760+king8fisher@users.noreply.github.com> Date: Mon, 22 Apr 2024 08:39:03 -0400 Subject: [PATCH] remove excessive test --- parse_test.ts | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/parse_test.ts b/parse_test.ts index 7db0183..f18a7ec 100644 --- a/parse_test.ts +++ b/parse_test.ts @@ -62,26 +62,12 @@ Deno.test("quotes", async () => { console.log(`${count} lemmas processed`); }); -Deno.test("partsOfSpeechList", () => { - assertEquals(partsOfSpeechList, [ - "n", - "v", - "a", - "r", - "s", - "c", - "p", - "x", - "u", - ]); -}); - -function assertNodeParentType(node: Node, type: string) { +const assertNodeParentType = (node: Node, type: string) => { assert( node.parent && node.parent.type == type, `${node.type} should have a ${type} parent, but was ${node.parent?.type} instead`, ); -} +}; Deno.test("validate wordnet xml", async () => { const start = performance.now();