summaryrefslogtreecommitdiffstats
path: root/t/bug-41.t
diff options
context:
space:
mode:
Diffstat (limited to 't/bug-41.t')
-rw-r--r--t/bug-41.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/bug-41.t b/t/bug-41.t
new file mode 100644
index 0000000..7bcb52b
--- /dev/null
+++ b/t/bug-41.t
@@ -0,0 +1,14 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More;
+
+use Spreadsheet::ParseXLSX;
+
+{
+ local $SIG{__WARN__} = sub { fail("unexpected warning: $_[0]") };
+ my $wb = Spreadsheet::ParseXLSX->new->parse('t/data/bug-41.xlsx');
+ pass('it parses successfully');
+}
+
+done_testing;