Nik Clayton wrote:
All,

There seems to have been a change in the output format for test failures semi-recently.

Given this test script:

    #!/usr/bin/perl

    use Test::Harness 0.48;
    use Test::More 0.60;

    plan tests => 2;

    ok(1, 'test 1');
    ok(0, 'test 2');

I get this output:

    1..2
    ok 1 - test 1
    not ok 2 - test 2

    #     Failed test (test.pl at line 9)
    # Looks like you failed 1 test of 2.

Notice the blank line between the "not ok 2" line and the first line of
diagnostic output.  That seems new.

I confirm your observation. My installed Test::More is v0.47 and generates no extra linespace before # Failed. Running the same script with v0.60 produces the extra linespace.

I don't know which version this crept in on or why.

jimk

Reply via email to