Fix tests against php-markdown 1.5

The dev version of php-markdown is wrongly aliased as 1.4.x-dev right
now, so the build against dev versions installs the library with 1.5.0
features.
This commit is contained in:
Christophe Coevoet 2015-09-29 17:00:46 +02:00
parent cbdb33b243
commit 9154189409

View file

@ -299,6 +299,19 @@ EOF;
8. Parish
EOF;
// Since version 1.5.0, the ordered lists support this new feature.
if (property_exists($parser, 'enhanced_ordered_list')) {
$html = <<<EOF
<ol start="3">
<li>Bird</li>
<li>McHale</li>
<li>Parish</li>
</ol>
EOF;
}
$this->assertSame($html, $parser->transform($text));
}