diff options
author | Simon Rozman <simon@rozman.si> | 2019-02-04 11:45:37 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-05 12:59:42 +0100 |
commit | 963be8e993ae5688f3b0c490813a95391ec98c53 (patch) | |
tree | f66b410db599c8eb803c5046aed56fdfe1e47bba /endpoint_test.go | |
parent | e821cdabd2930d301d3a12a5d4d1fe8904cd1c14 (diff) |
Stop accessing SetupDiGetDeviceInfoListDetail() output on error
The data returned by SetupDiGetDeviceInfoListDetail() is nil on error
which will cause the test to crash should the function fail.
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'endpoint_test.go')
0 files changed, 0 insertions, 0 deletions