summary refs log tree commit diff stats
path: root/tests/js/test2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/test2.nim')
-rw-r--r--tests/js/test2.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/js/test2.nim b/tests/js/test2.nim
index 0bfb99139..9ecdbb35c 100644
--- a/tests/js/test2.nim
+++ b/tests/js/test2.nim
@@ -9,6 +9,9 @@ js 3.14
 
 # This file tests the JavaScript generator
 
+doAssert getCurrentException() == nil
+doAssert getCurrentExceptionMsg() == ""
+
 #  #335
 proc foo() =
   var bar = "foo"