Skip to content

Commit

Permalink
fix(spelling): respone -> respond
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r committed Aug 16, 2019
1 parent bf3226a commit 42767f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/matcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ func Test_handleChatServiceRule(t *testing.T) {
expectMsg string
}{
{"basic", args{}, false, false, ""},
{"respone + hear", args{rule: models.Rule{Respond: "hi", Hear: "/hi/"}, hit: false, bot: testBot, message: testMessage}, false, false, ""},
{"respond + hear", args{rule: models.Rule{Respond: "hi", Hear: "/hi/"}, hit: false, bot: testBot, message: testMessage}, false, false, ""},
{"hear + rule args", args{rule: ruleHearWithArgs, hit: false, bot: testBot, message: testMessage}, false, false, ""},
{"respond rule - hit false", args{rule: rule, hit: false}, false, false, ""},
{"respond rule - hit true - valid", args{rule: rule, hit: true, bot: testBot, message: testMessage, processedInput: "arg1 arg2"}, true, true, "hmm, the 'format_output' field in your configuration is empty"},
Expand Down

0 comments on commit 42767f6

Please sign in to comment.