mirror of https://github.com/rusefi/usb4java.git
Fix unit test. Obviously libusb has changed the returned error code
This commit is contained in:
parent
129f8e3569
commit
bf4bb8601b
|
@ -208,7 +208,7 @@ public class LibUsbDeviceTest
|
|||
assumeNotNull(this.device);
|
||||
final ByteBuffer path = BufferUtils.allocateByteBuffer(0);
|
||||
final int result = LibUsb.getPortNumbers(this.device, path);
|
||||
assertEquals(LibUsb.ERROR_OVERFLOW, result);
|
||||
assertEquals(LibUsb.ERROR_INVALID_PARAM, result);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue