diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-10-09 09:42:16 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-10-09 09:42:16 -0400 |
commit | 852d8eaa132ed1cb10a55ff3bbf9ca82e52f8867 (patch) | |
tree | abfde48a4e3c173877a1867dbb7f03796575fd8f /t/bug-11.t | |
parent | 90ca90b8e8f2dafc2befb8c5ddba1eea8e4eebf3 (diff) | |
download | spreadsheet-parsexlsx-852d8eaa132ed1cb10a55ff3bbf9ca82e52f8867.tar.gz spreadsheet-parsexlsx-852d8eaa132ed1cb10a55ff3bbf9ca82e52f8867.zip |
fix rich text cell contents (merrilymeredith, #11)
Diffstat (limited to 't/bug-11.t')
-rw-r--r-- | t/bug-11.t | 15 |
1 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; |