diff --git a/tests/FilterTest.php b/tests/FilterTest.php index 5ed88fa..7b89610 100644 --- a/tests/FilterTest.php +++ b/tests/FilterTest.php @@ -17,6 +17,11 @@ public function testCensor() $this->assertSame($expected, ObsceneCensorRus::getFiltered($test)); } + public function testWhiteWords() + { + $expected = $test = 'Launch gaunt'; // https://github.com/vearutop/php-obscene-censor-rus/issues/3 + $this->assertSame($expected, ObsceneCensorRus::getFiltered($test)); + } public function testText() { $test = 'Да пошел ты нахуй и в пиzdu huesos, ушлепок ебаный, ебать мой вялый хуй! @@ -70,4 +75,4 @@ public function testAllowed() { -} \ No newline at end of file +}