Add a test for InEndpoint.Read. Use ID for vid/pid in OpenDevice...

This commit is contained in:
Sebastian Zagrodzki
2017-04-10 01:25:51 +02:00
parent b1dcaa1195
commit b6794b7d45
3 changed files with 33 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ func TestOpenDeviceWithVidPid(t *testing.T) {
libusb = newFakeLibusb()
for _, d := range []struct {
vid, pid int
vid, pid ID
exists bool
}{
{0x7777, 0x0003, false},