Personally I prefer to use cmp_ok for things like this, so that you can be sure to use the right operator for the job ('is' will use the 'eq' operator).

cmp_ok(0, '==', 1, "Zero shouldn't equal one");


Steve


On Aug 31, 2004, at 7:58 AM, Ricardo SIGNES wrote:

* Andrew Savige <[EMAIL PROTECTED]> [2004-08-31T04:24:55]
Is there a way to make Test::Harness do this?

If nothing else, in the given case, it would have made more sense to use
is()


  is(0, 1, "Zero shouldn't equal one.");

That will print got/expected values on error, even when not verbose.

--
rjbs



Reply via email to