mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-01 03:47:23 +03:00
made parser aware of that now vid & pid have 0x
This commit is contained in:
@ -11,6 +11,6 @@ public class UDevAdmParserTest {
|
||||
public void shouldCorrectlyParse() throws Exception {
|
||||
String output = TestHelper.inputStreamToString(UDevAdmParserTest.class.getResourceAsStream("udev_output.txt"));
|
||||
|
||||
assertEquals("2341_0036", new UDevAdmParser().extractVIDAndPID(output));
|
||||
assertEquals("0X2341_0X0036", new UDevAdmParser().extractVIDAndPID(output));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user