--- parser3/tests/347-curl.html 2016/08/03 20:33:56 1.1
+++ parser3/tests/347-curl.html 2016/09/01 14:08:38 1.2
@@ -1,3 +1,5 @@
+@main[]
+
^curl:options[ $.library[no-such-library.so] ]
^try-catch{ ^curl:session{ } }
^try-catch{ ^curl:session{ } }
@@ -5,3 +7,11 @@
^try-catch{ ^curl:session{ } }
^curl:options[ $.library[libcurl.so] ]
^curl:session{ OK }
+
+@try-catch[jCode]
+^try{$jCode}{
+ $exception.handled(true)
+ Type: $exception.type,
+ Source: $exception.source,
+ Comment: ^exception.comment.left(46)
+}