mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 13:33:22 +00:00
fixes JS tests (#23479)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user