Fix TAP::Parser PANIC on empty output from testmaster
commit6e837585b46dc1d645976e78aadc740b59f3e9ce
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 1 Oct 2009 16:37:27 +0000 (1 18:37 +0200)
committerLubomir Rintel <lkundrak@v3.sk>
Thu, 1 Oct 2009 16:37:27 +0000 (1 18:37 +0200)
treee9344abca1b80a507c5c744adbcfc33a6cf96256
parent213cc445084dac1a28e8dec37ae5c1db0f817df2
Fix TAP::Parser PANIC on empty output from test

If an output of test was of length zero, TAP::Parser would not
recognize it as TAP output and would panic. We help it by adding
a single line break.
ChangeLog
MANIFEST
lib/TAP/Harness/JUnit.pm
t/outputs.t
t/outputs_with_time.t
t/tests/empty.txt [new file with mode: 0644]
t/tests/empty.xml [new file with mode: 0644]