Add a missing testcase for :seen.

configurable-file-paths
Robert Gerus 2015-12-09 00:26:03 +01:00
parent 80581ffb36
commit 68d23ad4f9
1 changed files with 12 additions and 0 deletions

View File

@ -357,10 +357,22 @@ var noResponseEvents = []struct {
},
},
},
{
desc: "seen without arguments",
in: irc.Message{
Command: "PRIVMSG",
Trailing: ":seen",
Params: []string{"#testchan-1"},
Prefix: &irc.Prefix{
Name: "idontexist",
},
},
},
}
func TestNoResponse(t *testing.T) {
output := func(msg irc.Message) {
t.Logf("Got a response: %+v\n", msg)
t.Fail()
}