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:
parent
8fc23d5c17
commit
83da879ad3
2 changed files with 7 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue