mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-08 09:07:44 +00:00
net/nettest: add missing check at end of TestLimit
This appears to have been an oversight.
This commit is contained in:
parent
ed2169ae99
commit
503db5540f
@ -117,4 +117,8 @@ func TestLimit(t *testing.T) {
|
|||||||
} else if n != 1 {
|
} else if n != 1 {
|
||||||
t.Errorf("Read(%q): n=%d want 1", string(b), n)
|
t.Errorf("Read(%q): n=%d want 1", string(b), n)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if err := <-errCh; err != nil {
|
||||||
|
t.Error(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user