aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHao Li <hao.x.li@intel.com>2017-03-24 06:33:09 +0800
committerJimmy Huang <jimmy.huang@linux.intel.com>2017-03-23 15:33:09 -0700
commit348313e317c7bfce507e1f1eec828bccfcbc4fa9 (patch)
treea08c5f39ac96cbfc02aa34fe0f872d7536a7c739
parent0481a6e9be9e076661f26b5a37376a8ae18b7bcf (diff)
[Buffer] Remove invalid case (#877)
- writeUInt8(-1) is not a valid check point following Buffer API
-rw-r--r--tests/test-buffer.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-buffer.js b/tests/test-buffer.js
index d5d8a37..c70f2b1 100644
--- a/tests/test-buffer.js
+++ b/tests/test-buffer.js
@@ -27,8 +27,7 @@ assert(buff.length === original, "The length of Buffer is readonly");
// Function: writeUInt8(unsigned char value, unsigned long offset)
// unsigned char readUInt8(unsigned long offset)
-var uints = [[-1, 0],
- [0, 0],
+var uints = [[0, 0],
[1, 1],
[1.6, 1],
[255, 255],