From 3a7350a8a7f70bb8c057c3d27ffc72f580a74016 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Wed, 1 Nov 2017 16:46:01 +0100 Subject: [PATCH] tests: fix possible typo in testPostFilters() leading to failure Signed-off-by: Kevin Decherf --- tests/ReadabilityTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ReadabilityTest.php b/tests/ReadabilityTest.php index e7d7bcd..2c95752 100644 --- a/tests/ReadabilityTest.php +++ b/tests/ReadabilityTest.php @@ -445,7 +445,7 @@ class ReadabilityTest extends \PHPUnit_Framework_TestCase public function testPostFilters() { - $readability = $this->getReadability('
' . str_repeat('

This is the awesome content :)

', 10) . '
', 'http://0.0.0.0'); + $readability = $this->getReadability('
' . str_repeat('

This is the awesome content :)

', 10) . '
', 'http://0.0.0.0'); $readability->addPostFilter('!]*>(.*?)!is', ''); $res = $readability->init();