/[pxelator]/lib/PXElator/t/html.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/t/html.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 345 by dpavlin, Sun Aug 9 18:56:04 2009 UTC revision 346 by dpavlin, Sat Aug 29 16:51:07 2009 UTC
# Line 4  use warnings; Line 4  use warnings;
4  use strict;  use strict;
5  use autodie;  use autodie;
6    
7  use Test::More tests => 5;  use Test::More tests => 8;
8    use Data::Dump qw/dump/;
9    
10  use_ok 'html';  use_ok 'html';
11    
# Line 19  diag $html; Line 20  diag $html;
20    
21  ok( $html = html::pre_dump( foo => 1, bar => 'baz' ), 'pre_dump' );  ok( $html = html::pre_dump( foo => 1, bar => 'baz' ), 'pre_dump' );
22  diag $html;  diag $html;
23    
24    ok( $html = html::conf( '127.0.0.1', { foo => 1, bar => 'baz' } ), 'conf' );
25    diag $html;
26    
27    ok( my @t = html::conf( '127.0.0.1', { foo => 1, bar => 'baz' }, 'table' ), 'conf table' );
28    diag dump @t;
29    
30    ok( @t = html::conf( '127.0.0.1', { foo => 1, bar => 'baz' }, 'edit', 'foo' ), 'conf edit' );
31    diag dump @t;

Legend:
Removed from v.345  
changed lines
  Added in v.346

  ViewVC Help
Powered by ViewVC 1.1.26