mirror of
https://github.com/fluffle/goirc
synced 2026-01-20 00:38:04 +00:00
check bad tag inputs
This commit is contained in:
parent
e670ca970c
commit
32ae1211bb
2 changed files with 10 additions and 2 deletions
|
|
@ -137,6 +137,8 @@ func TestLineTags(t *testing.T) {
|
|||
Args: []string{"me", "Hello"},
|
||||
},
|
||||
},
|
||||
{"@a=a; :nick!ident@host.com PRIVMSG me :Hello", nil}, // Bad inputs
|
||||
{"@a=a=a :nick!ident@host.com PRIVMSG me :Hello", nil},
|
||||
}
|
||||
|
||||
for i, test := range tests {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue