From 48e892318e40452292fb9a14c1b6d25af83a5684 Mon Sep 17 00:00:00 2001 From: Zubrikhin Alexey Date: Sat, 18 Apr 2015 13:31:52 +1000 Subject: [PATCH] * update text --- t/parse-table.t | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/t/parse-table.t b/t/parse-table.t index 274b7de..a175176 100644 --- a/t/parse-table.t +++ b/t/parse-table.t @@ -18,9 +18,9 @@ EOF my $dw = Text::Dokuwiki->new; isa_ok($dw, 'Text::Dokuwiki'); -my $table = $dw->_parse_table([ @lines ]); -is(ref $table, 'ARRAY'); -is_deeply($table, [ +my $tree = $dw->_parse_table([ @lines ]); +is(ref $tree, 'ARRAY'); +is_deeply($tree, [ table => {}, [tr => {}, [td => {align => 'center'}, 'table'], @@ -53,3 +53,5 @@ is_deeply($table, [ [td => {align => 'center', skip => 1}, ':::'], ], ]); + +exit 0;