1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-09-06 00:43:20 +00:00

check bad tag inputs

This commit is contained in:
Jake Bailey 2016-01-11 16:43:19 -06:00
parent e670ca970c
commit 32ae1211bb
2 changed files with 10 additions and 2 deletions

View file

@ -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 {