--- trunk/t/02-frey-web.t 2008/11/26 20:47:13 545 +++ trunk/t/02-frey-web.t 2008/11/26 20:48:07 546 @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More tests => 25; +use Test::More tests => 27; use lib 'lib'; use Data::Dump qw/dump/; @@ -34,14 +34,16 @@ diag dump( @head ) if $debug; -ok( $o->add_head( '/static/introspect.css' ), 'add_head css' ); -ok( $o->add_head( "" ), 'add_head html' ); +ok( $o->add_head( '/static/introspect.css' ), 'add_head css' ); +ok( $o->add_head( "" ), 'add_head comment' ); +ok( $o->add_head( "head html>" ), 'add_head html' ); ok( my $html = $o->page( title => 'Test', body => '' ), 'page' ); diag $html if $debug; like( $html, qr{text/javascript.*\.js}, 'have js' ); like( $html, qr{text/css.*\.css}, 'have css' ); +like( $html, qr{head comment}, 'have comment' ); like( $html, qr{head html}, 'have html' ); like( $html, qr{icon}, 'have icon' );