Re: Cairo 1.042 available



On Sat, 2007-10-13 at 23:28 +0200, Torsten Schoenfeld wrote:
Not sure whether it was worth it, but still: I added something along the
lines of:

unless (eval 'use Test::Number::Delta; 1;') {
      *delta_ok = sub {
              ok(1, 'Fake delta_ok');
      }
}

Wouldn't skip be prettier to use a SKIP block?

SKIP: {
        skip "Test::Number::Delta not available", $how_many unless
$have_test_number_delta;

        delta_ok(.... );
};

./borup




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]