Fixup fromcvs/togit conversion
[pkgsrcv2.git] / devel / p5-Test-Most / DESCR
1 This module provides you with the most commonly used testing
2 functions and gives you a bit more fine-grained control over your
3 test suite.
4
5     use Test::Most tests => 4, 'die';
6
7     ok 1, 'Normal calls to ok() should succeed';
8     is 2, 2, '... as should all passing tests';
9     eq_or_diff [3], [4], '... but failing tests should die';
10     ok 4, '... will never get to here';
11
12 As you can see, the eq_or_diff test will fail. Because 'die' is in
13 the import list, the test program will halt at that point.