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
commit 0aefebb728
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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()