Skip to content

Commit

Permalink
Convert to Number
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Aug 21, 2024
1 parent 9f46a0a commit deb8c26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_static/test-c.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
const formattedQuestion = `${p}`.padStart(4, '0');
const func = wasm[`_p${formattedQuestion}`];
if (func === undefined) continue;
const expected = get_js_answer(p);
const expected = Number(get_js_answer(p));
describe(`run test ${p}`, function() {
this.timeout(Infinity);
it(`should return ${expected}`, async () => {
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/test-cp.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
const formattedQuestion = `${p}`.padStart(4, '0');
const func = wasm[`_p${formattedQuestion}`];
if (func === undefined) continue;
const expected = get_js_answer(p);
const expected = Number(get_js_answer(p));
describe(`run test ${p}`, function() {
this.timeout(Infinity);
it(`should return ${expected}`, async () => {
Expand Down

0 comments on commit deb8c26

Please sign in to comment.