mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-10 09:52:19 +02:00
Add test case to cover configuration
This commit is contained in:
parent
bd9170ee10
commit
8d4254676a
|
@ -803,4 +803,15 @@ EOF;
|
|||
|
||||
$this->assertEquals($expectedResult, $parser->transform($text));
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testParser
|
||||
*/
|
||||
public function testEscapedLink($parser) {
|
||||
$link = "http://images.google.com/images?num=30&q=larry+bird";
|
||||
|
||||
$expectedResult = "<p>http://images.google.com/images?num=30&q=larry+bird</p>\n";
|
||||
|
||||
$this->assertEquals($expectedResult, $parser->transform($link));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue