Merge pull request #405 from tacnoman/assertTestMarkdown

Assert LinkRendererTest for external URL
This commit is contained in:
Stéphane Goetz 2016-09-21 21:08:43 +02:00 committed by GitHub
commit 232da9676c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class LinkRendererTest extends \PHPUnit_Framework_TestCase
{
return [
// /Widgets/Page
['<a href="http://google.ch">Link</a>', '[Link](http://google.ch)', 'Widgets/Page.html'],
['<a href="http://google.ch" class="external">Link</a>', '[Link](http://google.ch)', 'Widgets/Page.html'],
['<a href="#features">Link</a>', '[Link](#features)', 'Widgets/Page.html'],
['<a href="Button.html">Link</a>', '[Link](Button.md)', 'Widgets/Page.html'],
['<a href="Button.html">Link</a>', '[Link](./Button.md)', 'Widgets/Page.html'],