Skip to content

Commit

Permalink
完善单元测试
Browse files Browse the repository at this point in the history
  • Loading branch information
bg5sbk committed Oct 25, 2016
1 parent 488edd2 commit f5d926e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ func Test_Channel(t *testing.T) {
})
}
channel.Close()
close(waitTestDone)
}()

clientWait := new(sync.WaitGroup)
Expand Down Expand Up @@ -176,6 +175,8 @@ func Test_Channel(t *testing.T) {
}

session.Close()

close(waitTestDone)
}()
}
clientWait.Wait()
Expand Down

0 comments on commit f5d926e

Please sign in to comment.