summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-09-16 23:21:24 -0400
committerJesse Luehrs <doy@tozt.net>2013-09-16 23:24:04 -0400
commit184bd929cdd7059c5387c2e753ab63731020d537 (patch)
tree1ce04ee4a25399100269cdd4350df39a299dd9e5 /t
parenta5b756bcaf85dd5c9ced36081427ddfd3de03d1b (diff)
downloadspreadsheet-parsexlsx-184bd929cdd7059c5387c2e753ab63731020d537.tar.gz
spreadsheet-parsexlsx-184bd929cdd7059c5387c2e753ab63731020d537.zip
handle the 'e' format (fixes #7)
Diffstat (limited to 't')
-rw-r--r--t/bug-7.t14
-rw-r--r--t/data/bug-7.xlsxbin0 -> 8639 bytes
2 files changed, 14 insertions, 0 deletions
diff --git a/t/bug-7.t b/t/bug-7.t
new file mode 100644
index 0000000..a4b2646
--- /dev/null
+++ b/t/bug-7.t
@@ -0,0 +1,14 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More;
+
+use Spreadsheet::ParseXLSX;
+
+my $wb = Spreadsheet::ParseXLSX->new->parse('t/data/bug-7.xlsx');
+is($wb->worksheet_count, 3);
+
+my $ws = $wb->worksheet(0);
+is($ws->get_cell(0, 0)->value, "#N/A");
+
+done_testing;
diff --git a/t/data/bug-7.xlsx b/t/data/bug-7.xlsx
new file mode 100644
index 0000000..c516813
--- /dev/null
+++ b/t/data/bug-7.xlsx
Binary files differ