Artifact 3834d281bb2d098ddef08f284acb067e56be32e8a9a291edd6e5bbcdf4c1986a:
- File
psl-1983/3-1/tests/catch.tst
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 334) [annotate] [blame] [check-ins using] [more...]
% Some interpreted tests of CATCH and THROW for MAIN 9 (Dashed "Expect an Error, that FOO uncaught") (THROW 'FOO 1) (shouldbe "Catch should return argument " (CATCH 'FOO 1) 1) (Dashed "Expect 1 to be printed, and 2 returned, no 3") (Shouldbe "Catch the Thrown value" (CATCH 'FOO (PROGN (print 1) (throw 'foo 2) (print 3))) 2)