[Catalyst-commits] r8616 -
Catalyst-Action-Serialize-SimpleExcel/1.000/trunk/t
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Mon Nov 17 23:31:42 GMT 2008
Author: caelum
Date: 2008-11-17 23:31:42 +0000 (Mon, 17 Nov 2008)
New Revision: 8616
Modified:
Catalyst-Action-Serialize-SimpleExcel/1.000/trunk/t/excel.t
Log:
C::A::S::SimpleExcel: forgot a test
Modified: Catalyst-Action-Serialize-SimpleExcel/1.000/trunk/t/excel.t
===================================================================
--- Catalyst-Action-Serialize-SimpleExcel/1.000/trunk/t/excel.t 2008-11-17 23:27:17 UTC (rev 8615)
+++ Catalyst-Action-Serialize-SimpleExcel/1.000/trunk/t/excel.t 2008-11-17 23:31:42 UTC (rev 8616)
@@ -7,7 +7,7 @@
use Catalyst::Test 'TestApp';
use Spreadsheet::ParseExcel ();
-use Test::More tests => 13;
+use Test::More tests => 14;
use Test::Deep;
# Test array of array
@@ -40,6 +40,12 @@
'column_widths'
);
+cmp_deeply(
+ read_sheet($sheet),
+ [ [qw/Foo Bar/], [1,2], [3,999999] ],
+ 'auto_widths -> sheet'
+);
+
# Test everything else
ok((my $resp = request '/rest/fancy?content-type=application%2Fvnd.ms-excel'),
More information about the Catalyst-commits
mailing list