1 2 3 4 5 6 7
<?php if ( !defined( 'MEDIAWIKI' ) ) die(); if ( $parse->countSections() !== 0 ) { $this->fail( "Testfile $filename failed misc tests... number of sections should be zero" ); }