diff --git a/public/index.html b/public/index.html index 2b46828..d469946 100644 --- a/public/index.html +++ b/public/index.html @@ -22,9 +22,9 @@ - - - + + + @@ -81,27 +81,27 @@
- - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/test-decoder.js b/test-decoder.js index 2d5a6f0..adc74cc 100644 --- a/test-decoder.js +++ b/test-decoder.js @@ -233,7 +233,7 @@ test('ACK decode', () => { }); test('ACK too short', () => { - const hex = '0D00' + '00'.repeat(10); + const hex = '0D00' + '00'.repeat(3); const p = decodePacket(hex); assert(p.payload.error); }); @@ -282,7 +282,7 @@ test('PATH decode', () => { }); test('PATH too short', () => { - const hex = '2100' + '00'.repeat(8); + const hex = '2100' + '00'.repeat(1); const p = decodePacket(hex); assert(p.payload.error); });