From 92395b6170d1af795c9d6d8f3f909e9c3c0e38ff Mon Sep 17 00:00:00 2001 From: Kent Gruber Date: Tue, 1 May 2018 22:36:26 -0400 Subject: [PATCH] add helper function to build example WiFi struct to be used in the rest of the tests, basically --- network/wifi_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/network/wifi_test.go b/network/wifi_test.go index 06777c76..2e32f3c3 100644 --- a/network/wifi_test.go +++ b/network/wifi_test.go @@ -1,3 +1,7 @@ package network import "testing" + +func buildExampleWiFi() *WiFi { + return NewWiFi(buildExampleEndpoint(), func(ap *AccessPoint) {}, func(ap *AccessPoint) {}) +}