Skip to content

Commit 56074f6

Browse files
authored
fix(tests): fixup for #1279 (#1285)
1 parent bf46f68 commit 56074f6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/bindings/linux-list.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ function propVal(name, val) {
3333
if (name === 'manufacturer') {
3434
return decodeHexEscape(val);
3535
}
36-
if (name === 'productId') {
37-
return decodeHexEscape(val);
38-
}
3936
if (/^0x/.test(val)) {
4037
return val.substr(2);
4138
}

test/bindings-linux-list.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ P: /devices/unknown
6464
N: ttyMFD0
6565
E: DEVNAME=/dev/ttyMFD0
6666
E: ID_VENDOR_ID=0x2343
67-
E: ID_MODEL_ENC=0043
67+
E: ID_MODEL_ID=0043
68+
E: ID_MODEL_ENC=some device made by someone
6869
6970
P: /devices/unknown
7071
N: rfcomm4

0 commit comments

Comments
 (0)