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

View File

@ -37,7 +37,7 @@ class LinkRendererTest extends \PHPUnit_Framework_TestCase
{ {
return [ return [
// /Widgets/Page // /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="#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'],
['<a href="Button.html">Link</a>', '[Link](./Button.md)', 'Widgets/Page.html'], ['<a href="Button.html">Link</a>', '[Link](./Button.md)', 'Widgets/Page.html'],