Skip to content

Commit 9248149

Browse files
committed
Merge pull request #11 from mofodojodino/develop
Apparently `Mick` is a derogatory word for Irish people. Unfortunatel…
2 parents e55e3cd + 4bd5e74 commit 9248149

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

config/profanities.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,6 @@
765765
'meatrack',
766766
'mgger',
767767
'mggor',
768-
'mick',
769768
'milf',
770769
'minge',
771770
'mofo',

spec/mofodojodino/ProfanityFilter/CheckSpec.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,9 @@ public function it_does_not_detect_ho_as_profanity_in_anthony()
152152
{
153153
$this->hasProfanity("anthony")->shouldReturn(false);
154154
}
155+
156+
public function it_does_not_detect_mick_as_a_swear_word()
157+
{
158+
$this->hasProfanity("Mick")->shouldReturn(false);
159+
}
155160
}

0 commit comments

Comments
 (0)