--- trunk/t/02-frey-web.t 2008/11/18 16:54:10 418 +++ trunk/t/02-frey-web.t 2008/11/19 02:52:42 444 @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More tests => 19; +use Test::More tests => 21; use lib 'lib'; use Data::Dump qw/dump/; @@ -35,12 +35,14 @@ diag dump( @head ) if $debug; ok( $o->add_head( '/static/introspect.css' ), 'add_head css' ); +ok( $o->add_head( '' ), '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 html}, 'have html' ); html_ok( $html, 'html lint' );