Skip to content

Commit

Permalink
Temporarily turn norm statements to array for duplicate checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Sep 12, 2024
1 parent 1d7dadd commit 4bf0dfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export async function checkSpecText({specUrl, suiteLog}) {
testVisitor.visit({nodes: log.tests});
}
const testTitles = new Set(tests.map(test => test?.title));
const normStatements = new Set(statements.map(s => s.text));
const normStatements = statements.map(s => s.text);
console.log(`Test Title Count ${testTitles.size}`);
console.log(`Normative Statement Count ${normStatements.size}`);
console.log(`Normative Statement Count ${normStatements.length}`);
}

// the condition for the spec
Expand Down

0 comments on commit 4bf0dfd

Please sign in to comment.