summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-04-05 19:26:23 +0800
committerGitHub <noreply@github.com>2024-04-05 19:26:23 +0800
commit8c9fde76b547f19e3663d71d4ea644cee700d130 (patch)
tree3fe78bba0ce8c22319fecbbda3f7c796d05390f0 /tests
parentf175c81079bdab39a70d6a29311e0dfba34f612c (diff)
downloadNim-8c9fde76b547f19e3663d71d4ea644cee700d130.tar.gz
fixes JS tests (#23479)
Diffstat (limited to 'tests')
-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