summaryrefslogtreecommitdiffstats
path: root/t/bug-8.t
blob: 0a9b58c96184a6c410df61b67026461987b45c30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;

use Spreadsheet::ParseXLSX;

my $wb = Spreadsheet::ParseXLSX->new->parse('t/data/bug-8.xlsx');
is($wb->worksheet_count, 3);

my $ws = $wb->worksheet(2);
my ($rmin, $rmax) = $ws->row_range;
my ($cmin, $cmax) = $ws->col_range;
is($rmin, 0);
is($rmax, -1);
is($cmin, 0);
is($cmax, -1);

done_testing;