Subject: | Test case fails (001-basic.t, test 11) |
Date: | Sun, 21 Feb 2010 11:43:43 -0800 |
To: | bug-Excel-Template-Plus [...] rt.cpan.org |
From: | Chris Travers <chris.travers [...] gmail.com> |
Output of make test is as follows:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/000_load.t ...... ok
t/001_basic.t ..... 10/11
# Failed test '... the generated excel file was correct'
# at t/001_basic.t line 59.
# Looks like you failed 1 test of 11.
t/001_basic.t ..... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests
t/pod.t ........... ok
t/pod_coverage.t .. skipped: Test::Pod::Coverage 1.04 required for
testing POD coverage
Test Summary Report
-------------------
t/001_basic.t (Wstat: 256 Tests: 11 Failed: 1)
Failed test: 11
Non-zero exit status: 1
Files=4, Tests=15, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.91 cusr
0.06 csys = 1.02 CPU)
Result: FAIL
Failed 1/4 test programs. 1/15 subtests failed.
make: *** [test_dynamic] Error 255
To track this down, I hacked the lib/Test/Excel/Template/Plus.pm to
dump the data structures for $excel1 and $excel2
A diff here is interesting:
897c897
< 'FontNo' => 10,
---
Show quoted text
> 'FontNo' => 6,
1038c1038
< '_Pos' => 1251,
---
Show quoted text> '_Pos' => 1129,
My guess is that recent changes in Spreadsheet::WriteExcel have caused
some changes in defaults which are causing the test case to fail.
Best Wishes,
Chris Travers