Skip to content

Commit

Permalink
fix(tests): fixup for #1279 (#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed Aug 7, 2017
1 parent bf46f68 commit 56074f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions lib/bindings/linux-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ function propVal(name, val) {
if (name === 'manufacturer') {
return decodeHexEscape(val);
}
if (name === 'productId') {
return decodeHexEscape(val);
}
if (/^0x/.test(val)) {
return val.substr(2);
}
Expand Down
3 changes: 2 additions & 1 deletion test/bindings-linux-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ P: /devices/unknown
N: ttyMFD0
E: DEVNAME=/dev/ttyMFD0
E: ID_VENDOR_ID=0x2343
E: ID_MODEL_ENC=0043
E: ID_MODEL_ID=0043
E: ID_MODEL_ENC=some device made by someone
P: /devices/unknown
N: rfcomm4
Expand Down

0 comments on commit 56074f6

Please sign in to comment.