diff --git a/docs/_static/test-c.html b/docs/_static/test-c.html
index bf77a698..af54b0f9 100644
--- a/docs/_static/test-c.html
+++ b/docs/_static/test-c.html
@@ -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 () => {
diff --git a/docs/_static/test-cp.html b/docs/_static/test-cp.html
index 49264f7f..ce66d87d 100644
--- a/docs/_static/test-cp.html
+++ b/docs/_static/test-cp.html
@@ -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 () => {