summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-01-29 15:27:05 -0500
committerJesse Luehrs <doy@tozt.net>2014-01-29 15:27:05 -0500
commit3e1b783c60afe860f38b7947888a0bb443694691 (patch)
tree709ff6bbb3e0eae4e90bdde52f9836b41ffd929b /t
parent58e422a18e68ed948a791ffba824fd67689d02df (diff)
downloadspreadsheet-parsexlsx-3e1b783c60afe860f38b7947888a0bb443694691.tar.gz
spreadsheet-parsexlsx-3e1b783c60afe860f38b7947888a0bb443694691.zip
fix this test (#15)
Diffstat (limited to 't')
-rw-r--r--t/bug-15.t9
1 files changed, 8 insertions, 1 deletions
diff --git a/t/bug-15.t b/t/bug-15.t
index 5ec62b2..47322e8 100644
--- a/t/bug-15.t
+++ b/t/bug-15.t
@@ -11,10 +11,17 @@ my $ws = $wb->worksheet(1);
my $b2 = $ws->get_cell(1, 1);
ok(exists $b2->get_format->{Hidden});
ok(exists $b2->get_format->{Lock});
-ok(!$b2->get_format->{IgnoreProtection});
+ok($b2->get_format->{IgnoreProtection});
ok(!$b2->get_format->{Hidden});
ok(!$b2->get_format->{Lock});
+my $b3 = $ws->get_cell(2, 1);
+ok(exists $b3->get_format->{Hidden});
+ok(exists $b3->get_format->{Lock});
+ok(!$b3->get_format->{IgnoreProtection});
+ok(!$b3->get_format->{Hidden});
+ok(!$b3->get_format->{Lock});
+
my $b4 = $ws->get_cell(3, 1);
ok(exists $b4->get_format->{Hidden});
ok(exists $b4->get_format->{Lock});