diff options
Diffstat (limited to 'tun/wintun/setupapi/setupapi_windows_test.go')
-rw-r--r-- | tun/wintun/setupapi/setupapi_windows_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tun/wintun/setupapi/setupapi_windows_test.go b/tun/wintun/setupapi/setupapi_windows_test.go index b932d7d..48a0f05 100644 --- a/tun/wintun/setupapi/setupapi_windows_test.go +++ b/tun/wintun/setupapi/setupapi_windows_test.go @@ -139,6 +139,11 @@ func TestSetupDiEnumDeviceInfo(t *testing.T) { if data.ClassGUID != deviceClassNetGUID { t.Error("SetupDiEnumDeviceInfo returned different class GUID") } + + _, err = devInfoList.DeviceInstanceID(data) + if err != nil { + t.Errorf("Error calling SetupDiGetDeviceInstanceId: %s", err.Error()) + } } } |