/[Frey]/branches/zimbardo/t/02-Frey-Web.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 /branches/zimbardo/t/02-Frey-Web.t

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

revision 837 by dpavlin, Sun Dec 14 15:13:55 2008 UTC revision 961 by dpavlin, Wed Jan 7 19:41:48 2009 UTC
# Line 41  ok( $o->add_head( "<span>head html</span Line 41  ok( $o->add_head( "<span>head html</span
41    
42  html_ok( $o->warnings_html, 'warnings_html' );  html_ok( $o->warnings_html, 'warnings_html' );
43    
44  ok( my $html = $o->page( title => 'Test', body => '<!-- in-body -->' ), 'page' );  ok( my $html = $o->html_page( title => 'Test', body => '<!-- in-body -->' ), 'page' );
45  diag $html if $debug;  diag $html if $debug;
46    
47  like( $html, qr{text/javascript.*\.js}, 'have js' );  like( $html, qr{text/javascript.*\.js}, 'have js' );
# Line 59  diag $s if $debug; Line 59  diag $s if $debug;
59    
60  ok( $o->title, 'has title' );  ok( $o->title, 'has title' );
61    
62  ok( my $html2 = $o->page( title => 'Test2', body => '<!-- in-body 2 -->' ), 'page' );  ok( my $html2 = $o->html_page( title => 'Test2', body => '<!-- in-body 2 -->' ), 'page' );
63  diag $html2 if $debug;  diag $html2 if $debug;
64    
65  cmp_ok( length( $html ), '<', length( $html2 ), 'bigger html' );  cmp_ok( length( $html ), '<', length( $html2 ), 'bigger html' );

Legend:
Removed from v.837  
changed lines
  Added in v.961

  ViewVC Help
Powered by ViewVC 1.1.26