--- lib/PXElator/t/html.t 2009/08/09 18:56:04 180 +++ lib/PXElator/t/html.t 2009/08/29 16:51:07 346 @@ -4,7 +4,8 @@ use strict; use autodie; -use Test::More tests => 5; +use Test::More tests => 8; +use Data::Dump qw/dump/; use_ok 'html'; @@ -19,3 +20,12 @@ ok( $html = html::pre_dump( foo => 1, bar => 'baz' ), 'pre_dump' ); diag $html; + +ok( $html = html::conf( '127.0.0.1', { foo => 1, bar => 'baz' } ), 'conf' ); +diag $html; + +ok( my @t = html::conf( '127.0.0.1', { foo => 1, bar => 'baz' }, 'table' ), 'conf table' ); +diag dump @t; + +ok( @t = html::conf( '127.0.0.1', { foo => 1, bar => 'baz' }, 'edit', 'foo' ), 'conf edit' ); +diag dump @t;