diff --git a/tests/TestCase/Utility/InflectorTest.php b/tests/TestCase/Utility/InflectorTest.php index 6e396799def..5243d99cb9b 100644 --- a/tests/TestCase/Utility/InflectorTest.php +++ b/tests/TestCase/Utility/InflectorTest.php @@ -393,6 +393,10 @@ public function testSlug() $result = Inflector::slug("non\xc2\xa0breaking\xc2\xa0space"); $this->assertEquals('non-breaking-space', $result); + + $result = Inflector::slug('Foo Bar: Not just for breakfast any-more', ''); + $expected = 'FooBarNotjustforbreakfastanymore'; + $this->assertEquals($expected, $result); } /**