Skip to content

Commit

Permalink
remove excessive test
Browse files Browse the repository at this point in the history
  • Loading branch information
king8fisher committed Apr 22, 2024
1 parent 5a5ca10 commit 2f92da8
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions parse_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2f92da8

Please sign in to comment.