Assert LinkRendererTest for external URL

This commit is contained in:
Renato Cassino 2016-09-17 23:12:37 -03:00
parent aa4ad02b46
commit b6164f07cc

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'],