function test_thematic_singlepost() { $this->expectOutputRegex('/<article id="post/', thematic_singlepost()); }
<div id="container"> <?php thematic_abovecontent(); ?> <div id="content"> <?php the_post(); // create the navigation above the content thematic_navigation_above(); // calling the widget area 'single-top' get_sidebar('single-top'); // action hook creating the single post thematic_singlepost(); // calling the widget area 'single-insert' get_sidebar('single-insert'); // create the navigation below the content thematic_navigation_below(); // calling the comments template thematic_comments_template(); // calling the widget area 'single-bottom' get_sidebar('single-bottom'); ?> </div><!-- #content --> <?php thematic_belowcontent(); ?>
function test_thematic_singlepost_xhtml() { $this->expectOutputRegex('/<div id="post/', thematic_singlepost()); }