X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FLinkUtilsTest.php;h=609a80cbe6b223f25b7060389f55e7ae807d26f3;hb=68ea1d2b30db8ab295e47e9ac5f6c8e81676caf7;hp=c22575907c144e37dccfa6489731f1260d82347c;hpb=890afc32f744859d11b97eb26ed5c030af9b4145;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/LinkUtilsTest.php b/tests/LinkUtilsTest.php index c2257590..609a80cb 100644 --- a/tests/LinkUtilsTest.php +++ b/tests/LinkUtilsTest.php @@ -15,6 +15,8 @@ class LinkUtilsTest extends PHPUnit_Framework_TestCase $title = 'Read me please.'; $html = 'stuff'. $title .''; $this->assertEquals($title, html_extract_title($html)); + $html = ''. $title .'blablaanother'; + $this->assertEquals($title, html_extract_title($html)); } /**