Example #1
0
    public function test_prepContents_h4()
    {
        $contents = <<<'EOL'
			<article>
				<h4 class="method" id="method_is_multi">is_multi($arr, $all_keys = false)</h4>
				<p>The <strong>is_multi</strong> method checks if the array passed is multi-dimensional array or not.</p>
EOL;
        $test = FuelDocs::prepContents($contents);
        $expected = <<<'EOL'


The is_multi method checks if the array passed is multi-dimensional array or not.
EOL;
        $this->assertEquals($expected, $test);
    }