Skip to content

Commit

Permalink
Update replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmab committed Feb 5, 2025
1 parent 744a8f2 commit 61a8e04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/parser/bogeydope_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ func TestParserBogeyDope(t *testing.T) {
simpleBogeyDopeTestCase("OGYDO"),
simpleBogeyDopeTestCase("Bokeydoke"),
simpleBogeyDopeTestCase("PUKIDO"),
simpleBogeyDopeTestCase("BOGU DOPE"),
simpleBogeyDopeTestCase("BUGGIT-OPE."),
simpleBogeyDopeTestCase("Boguie Dope"),
simpleBogeyDopeTestCase("request 'Bogydope'"),
}
runParserTestCases(t, New(TestCallsign, true), testCases, func(t *testing.T, test parserTestCase, request any) {
t.Helper()
Expand Down
3 changes: 3 additions & 0 deletions pkg/parser/replacements.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ var replacementLUT = map[string]string{
"bogie": bogeyDope,
"bogit": bogeyDope,
"bogota": bogeyDope,
"bogu": bogeyDope,
"bogudo": bogeyDope,
"bogue": bogeyDope,
"bogueed": bogeyDope,
"bogueto": bogeyDope,
"boguetto": bogeyDope,
"boguido": bogeyDope,
"boguie": bogeyDope,
"bogy": bogeyDope,
"boido": bogeyDope,
"boji": bogeyDope,
Expand Down Expand Up @@ -93,6 +95,7 @@ var replacementLUT = map[string]string{
"buggettope": bogeyDope,
"buggidop": bogeyDope,
"buggie": bogeyDope,
"buggit": bogeyDope,
"buggy": bogeyDope,
"buggydoke": bogeyDope,
"buggydope": bogeyDope,
Expand Down

0 comments on commit 61a8e04

Please sign in to comment.