mirror of
https://github.com/fluffle/goirc
synced 2025-05-15 12:03:21 +00:00
Put read lock in Connected() (10->9).
This commit is contained in:
parent
648864c1d4
commit
637cdb573f
2 changed files with 4 additions and 2 deletions
|
@ -65,7 +65,7 @@ func TestEOF(t *testing.T) {
|
|||
<-time.After(time.Millisecond)
|
||||
|
||||
// Verify that the connection no longer thinks it's connected
|
||||
if c.connected {
|
||||
if c.Connected() {
|
||||
t.Errorf("Conn still thinks it's connected to the server.")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue