[Perlunit-commits] src/Test-Unit/t/tlib AssertTest.pm
Status: Beta
Brought to you by:
mca1001
From: Adam S. <ada...@us...> - 2002-01-08 19:21:51
|
Update of /cvsroot/perlunit/src/Test-Unit/t/tlib In directory usw-pr-cvs1:/tmp/cvs-serv3119/t/tlib Modified Files: AssertTest.pm Log Message: - Fix breakage where coderef assertions were not failing. Coderef assertions are now expected to throw Test::Unit::Failures ($self->fail() is a convenient way of doing this; see updated docs). - New tests for assert(). - New multi_assert() for using multiple argument sets with one assertion (plus tests). - New assert_raises() for asserting that a coderef raises a particular class of exception (plus tests). |