summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/bug-11.t15
-rw-r--r--t/data/bug-11.xlsxbin0 -> 4628 bytes
2 files changed, 15 insertions, 0 deletions
diff --git a/t/bug-11.t b/t/bug-11.t
new file mode 100644
index 0000000..0ab526b
--- /dev/null
+++ b/t/bug-11.t
@@ -0,0 +1,15 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More;
+
+use Spreadsheet::ParseXLSX;
+
+my $wb = Spreadsheet::ParseXLSX->new->parse('t/data/bug-11.xlsx');
+is($wb->worksheet_count, 1);
+
+my $ws = $wb->worksheet(0);
+is($ws->get_cell(0, 0)->value, "foobarbaz");
+is($ws->get_cell(0, 1)->value, "quux");
+
+done_testing;
diff --git a/t/data/bug-11.xlsx b/t/data/bug-11.xlsx
new file mode 100644
index 0000000..6f9fd67
--- /dev/null
+++ b/t/data/bug-11.xlsx
Binary files differ