From 3a4b66b38385498cc665478a356780170ebe0a74 Mon Sep 17 00:00:00 2001 From: Christian C Date: Mon, 10 Aug 2020 17:13:55 -0400 Subject: [PATCH] Update goaway_test.go --- goaway_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/goaway_test.go b/goaway_test.go index ffbadb7..1d3fcc3 100644 --- a/goaway_test.go +++ b/goaway_test.go @@ -69,7 +69,7 @@ func TestSentencesWithNoProfanities(t *testing.T) { } func TestSentencesWithFalsePositives(t *testing.T) { - sentences := []string{"I am from Scuntthorpe, north Lincolnshire", "He is an associate of mine"} + sentences := []string{"I am from Scuntthorpe, north Lincolnshire", "He is an associate of mine", "Are you an assassin?"} for _, s := range sentences { if goaway.IsProfane(s) { t.Error("Expected false, got true from sentence", s) @@ -78,7 +78,7 @@ func TestSentencesWithFalsePositives(t *testing.T) { } func TestSentencesWithFalsePositivesAndProfanities(t *testing.T) { - sentences := []string{"You are a shitty associate", "Go back to Scuntthorpe, Asshole!"} + sentences := []string{"You are a shitty associate", "Go away, asshole!"} for _, s := range sentences { if !goaway.IsProfane(s) { t.Error("Expected true, got false from sentence", s)