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

Add tearDown() to all tests.

This commit is contained in:
Alex Bramley 2011-08-23 11:06:06 +01:00
parent 8fc23d5c17
commit 83da879ad3
2 changed files with 7 additions and 2 deletions

View file

@ -4,6 +4,7 @@ import "testing"
func TestClientCommands(t *testing.T) {
m, c := setUp(t)
defer tearDown(m, c)
c.Pass("password")
m.Expect("PASS password")