summaryrefslogtreecommitdiffhomepage
path: root/ipn/ipnlocal/local_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'ipn/ipnlocal/local_test.go')
-rw-r--r--ipn/ipnlocal/local_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipn/ipnlocal/local_test.go b/ipn/ipnlocal/local_test.go
index 8c8b68a87..a3cb7e213 100644
--- a/ipn/ipnlocal/local_test.go
+++ b/ipn/ipnlocal/local_test.go
@@ -803,7 +803,7 @@ func TestWatchNotificationsCallbacks(t *testing.T) {
// tests LocalBackend.updateNetmapDeltaLocked
func TestUpdateNetmapDelta(t *testing.T) {
- var b LocalBackend
+ b := newTestLocalBackend(t)
if b.updateNetmapDeltaLocked(nil) {
t.Errorf("updateNetmapDeltaLocked() = true, want false with nil netmap")
}