diff --git a/tests/js/tcodegendeclproc.nim b/tests/js/tcodegendeclproc.nim index 33064bdf12..7ad2cfcee2 100644 --- a/tests/js/tcodegendeclproc.nim +++ b/tests/js/tcodegendeclproc.nim @@ -3,7 +3,7 @@ discard """ -1 8 ''' - ccodecheck: "'console.log(-1); function fac__tcodegendeclproc_u1(n_p0)'" + ccodecheck: "'console.log(-1); function fac__tcodegendeclproc_u' \\d+ '(n_p0)'" """ proc fac(n: int): int {.codegenDecl: "console.log(-1); function $2($3)".} = return n