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:
parent
7711182a72
commit
8f2ab20f4f
5 changed files with 45 additions and 45 deletions
|
@ -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!")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue