JS unittest stacktrace fix, cleanup js repr and inclrtl includes (#14168)

This commit is contained in:
hlaaftana
2020-04-30 19:04:53 +03:00
committed by GitHub
parent 4d799f8820
commit 0aefebb728
5 changed files with 43 additions and 46 deletions

View File

@@ -0,0 +1,22 @@
discard """
exitcode: 1
outputsub: "[FAILED] with exception"
"""
import unittest
proc ddd() =
raise newException(IOError, "didn't do stuff")
proc ccc() =
ddd()
proc bbb() =
ccc()
proc aaa() =
bbb()
test "with exception":
check 3 == 3
aaa()