Browse Source

* update text

master
Zubrikhin Alexey 10 years ago
parent
commit
48e892318e
  1. 8
      t/parse-table.t

8
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;

Loading…
Cancel
Save