[Perlunit-commits] src/Test-Unit/t assert.t
Status: Beta
Brought to you by:
mca1001
From: Adam S. <ada...@us...> - 2002-01-08 19:21:50
|
Update of /cvsroot/perlunit/src/Test-Unit/t In directory usw-pr-cvs1:/tmp/cvs-serv3119/t Modified Files: assert.t 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). |