summaryrefslogtreecommitdiffhomepage
path: root/setupapi/setupapi_windows_test.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-02-07 02:56:31 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-07 02:56:31 +0100
commit223685875faa568d97ff1d5324fe994d24f618e7 (patch)
tree49ced972571b0fda56ef9f4ee63bd5aea13819a1 /setupapi/setupapi_windows_test.go
parent652158ec3ce59aa45c610b6db2fa32ce92ab8cce (diff)
setupapi: Do not export the toGo/toWindows functions
Diffstat (limited to 'setupapi/setupapi_windows_test.go')
-rw-r--r--setupapi/setupapi_windows_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/setupapi/setupapi_windows_test.go b/setupapi/setupapi_windows_test.go
index 2325164..e6b00c9 100644
--- a/setupapi/setupapi_windows_test.go
+++ b/setupapi/setupapi_windows_test.go
@@ -169,7 +169,7 @@ func TestDevInfo_BuildDriverInfoList(t *testing.T) {
continue
}
- if driverData2, err2 := driverData.ToGo().ToWindows(); err2 != nil || *driverData2 != *driverData {
+ if driverData2, err2 := driverData.toGo().toWindows(); err2 != nil || *driverData2 != *driverData {
t.Error("Error converting between SP_DRVINFO_DATA and DrvInfoData")
}