summaryrefslogtreecommitdiffhomepage
path: root/portlist/portlist_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'portlist/portlist_test.go')
-rw-r--r--portlist/portlist_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/portlist/portlist_test.go b/portlist/portlist_test.go
index 6055a8426..ee480ea7f 100644
--- a/portlist/portlist_test.go
+++ b/portlist/portlist_test.go
@@ -192,7 +192,7 @@ func TestPoller(t *testing.T) {
for pl := range p.Updates() {
// Look at all the pl slice memory to maximize
// chance of race detector seeing violations.
- for _, v := range pl {
+ for _, v := range pl.List() {
if v == (Port{}) {
// Force use
panic("empty port")