Fix unit test. Obviously libusb has changed the returned error code

This commit is contained in:
Klaus Reimer 2015-04-14 11:28:44 +02:00
parent 129f8e3569
commit bf4bb8601b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**