tests/exception/tsetexceptions.nim not joinable (#18264)

This commit is contained in:
Timothee Cour
2021-06-16 23:20:33 -07:00
committed by GitHub
parent fd8b79707c
commit 99411674a6

View File

@@ -1,7 +1,10 @@
discard """
targets: "c cpp js"
joinable: false
"""
# refs https://github.com/nim-lang/Nim/pull/18247#issuecomment-860877161
let ex = newException(CatchableError, "test")
setCurrentException(ex)
doAssert getCurrentException().msg == ex.msg