From 3e1b783c60afe860f38b7947888a0bb443694691 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 29 Jan 2014 15:27:05 -0500 Subject: fix this test (#15) --- t/bug-15.t | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 't') 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}); -- cgit v1.2.3-54-g00ecf