Skip to content

Commit 057f6c2

Browse files
committed
fix
1 parent 5be3162 commit 057f6c2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tests/docstrings_examples/DocTest.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,9 @@ let main = async () => {
401401
if String.trim(rescriptCode)->String.length === 0 {
402402
None
403403
} else {
404-
Console.log3(index, Array.length(chuncks), example.id, "started")
404+
Console.log4(index, Array.length(chuncks), example.id, "started")
405405
let jsCode = await compileTest(~id, ~code=rescriptCode)
406-
Console.log3(index, Array.length(chuncks), example.id, "finished")
406+
Console.log4(index, Array.length(chuncks), example.id, "finished")
407407
Some(example, (rescriptCode, jsCode))
408408
}
409409
})

tests/docstrings_examples/DocTest.res.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,14 @@ async function main() {
403403
if (value !== undefined) {
404404
let c = chuncks[value];
405405
let a = await Promise.all(c.map(async example => {
406-
console.log(value, chuncks.length, example.id);
407406
let id = example.id.replaceAll(".", "__");
408407
let rescriptCode = getCodeBlocks(example);
409408
if (rescriptCode.trim().length === 0) {
410409
return;
411410
}
411+
console.log(value, chuncks.length, example.id, "started");
412412
let jsCode = await compileTest(id, rescriptCode);
413+
console.log(value, chuncks.length, example.id, "finished");
413414
return [
414415
example,
415416
[

0 commit comments

Comments
 (0)