From 56074f606f6a98c10e6e3331564dc6bf6c0d232f Mon Sep 17 00:00:00 2001 From: Francis Gulotta Date: Sun, 6 Aug 2017 20:49:51 -0400 Subject: [PATCH] fix(tests): fixup for #1279 (#1285) --- lib/bindings/linux-list.js | 3 --- test/bindings-linux-list.js | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/bindings/linux-list.js b/lib/bindings/linux-list.js index 5d35a4c21..3d79244b5 100644 --- a/lib/bindings/linux-list.js +++ b/lib/bindings/linux-list.js @@ -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); } diff --git a/test/bindings-linux-list.js b/test/bindings-linux-list.js index 6d636d63a..102f4b001 100644 --- a/test/bindings-linux-list.js +++ b/test/bindings-linux-list.js @@ -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