1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-05-14 03:23:21 +00:00

Make parseLine public by renaming it to ParseLine

This commit is contained in:
3onyc 2014-07-06 20:26:34 +02:00
parent 7711182a72
commit 8f2ab20f4f
5 changed files with 45 additions and 45 deletions

View file

@ -196,6 +196,6 @@ func TestPanicRecovery(t *testing.T) {
c.HandleFunc(PRIVMSG, func(conn *Conn, line *Line) {
panic("panic!")
})
c.in <- parseLine(":nick!user@host.com PRIVMSG #channel :OH NO PIGEONS")
c.in <- ParseLine(":nick!user@host.com PRIVMSG #channel :OH NO PIGEONS")
recovered.assertWasCalled("Failed to recover panic!")
}