summary refs log tree commit diff stats
path: root/tests/js/tcodegendeclproc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/tcodegendeclproc.nim')
-rw-r--r--tests/js/tcodegendeclproc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/js/tcodegendeclproc.nim b/tests/js/tcodegendeclproc.nim
index 3acf0bc13..33064bdf1 100644
--- a/tests/js/tcodegendeclproc.nim
+++ b/tests/js/tcodegendeclproc.nim
@@ -3,7 +3,7 @@ discard """
 -1
 8
 '''
-  ccodecheck: "'console.log(-1); function fac_' \\d+ '(n_' \\d+ ')'"
+  ccodecheck: "'console.log(-1); function fac__tcodegendeclproc_u1(n_p0)'"
 """
 proc fac(n: int): int {.codegenDecl: "console.log(-1); function $2($3)".} =
   return n