Duplicate false negatives and profanities break censoring #31
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the bug
When a string has two false negatives and two profanities, the string is not censored properly.
What do you see?
outputs
For verbosity, note that by default,
document
is a false positive (meaning it should not be censored) andfuck
is a profanity.What do you expect to see?
The output should be:
List the steps that must be taken to reproduce this issue
go-away/goaway_test.go
Lines 148 to 152 in 3bf4c7a
Version
v1.6.3
Additional information
I found this out while investigating #30
The text was updated successfully, but these errors were encountered: