--- parser3/tests/347-curl.html 2017/02/09 19:54:38 1.4
+++ parser3/tests/347-curl.html 2024/12/13 13:28:36 1.5
@@ -1,10 +1,17 @@
@main[]
-1. ^curl:options[ $.library[no-such-library.so] ]
+1. ^curl:options[ $.library[no-such-library.ext] ]
2. ^try-catch{ ^curl:session{ } }
3. ^try-catch{ ^curl:session{ } }
-4. ^curl:options[ $.library[another-library.so] ]
+4. ^curl:options[ $.library[another-library.ext] ]
5. ^try-catch{ ^curl:session{ } }
-6. ^curl:options[ $.library[libcurl.so] ]
+6. ^curl:options[ $.library[] ]
7. ^try-catch{ ^curl:session{ OK } }
+@try-catch[jCode]
+^try{$jCode}{
+ $exception.handled(1)
+ Exception type: $exception.type,
+ Source: $exception.source,
+ Comment: ^exception.comment.match[(failed to load curl library).*(no-such-library.ext|another-library.ext).*][]{$match.1 ... $match.2 ...}
+}