mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 17:34:43 +00:00
* fix #14475; make unittest work with -d:nodejs * fixup * fixup * disable inim, delaunay which failed after unittest.require got fixed * re-enable tests that have been fixed
14 lines
172 B
Nim
14 lines
172 B
Nim
discard """
|
|
output: '''
|
|
just exiting...
|
|
'''
|
|
joinable: false
|
|
"""
|
|
|
|
# Test `addQuitProc`
|
|
|
|
proc myExit() {.noconv.} =
|
|
write(stdout, "just exiting...\n")
|
|
|
|
addQuitProc(myExit)
|