diff --git a/tests/StrTest.php b/tests/StrTest.php new file mode 100644 index 0000000..3e674da --- /dev/null +++ b/tests/StrTest.php @@ -0,0 +1,21 @@ +assertEquals('cojon', Str::removeAccent('cojón')); + } + + public function test_enie_char_is_allowed() + { + $this->assertEquals('coño', Str::removeAccent('coño')); + } + + public function test_remove_accents_in_greek() + { + $this->assertEquals('μαλακας', Str::removeAccent('μαλάκας')); + } +}