Skip to content

crashes on "empty" test with timer option #4

@bleargh45

Description

@bleargh45

Migrated from rt.cpan.org #112602 (status was 'new')

Requestors:

From victor@vsespb.ru on 2016-03-01 09:58:07
:

Not sure if it's a bug, but:

$ echo 1 > t.t
$ prove --timer --formatter=TAP::Formatter::JUnit t.t
Modification of non-creatable array value attempted, subscript -1 at /usr/local/share/perl/5.14.2/TAP/Formatter/JUnit/Session.pm line 164.

does not crash on empty tests but with right output:

===
use Test::More;
done_testing;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions