Browse Source

Fix buffer test

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
6461af1baa
  1. 4
      test/simple/test-buffer.js

4
test/simple/test-buffer.js

@ -523,4 +523,6 @@ assert.equal(0xef, b[3]);
// This should not segfault the program.
new Buffer('"pong"', 0, 6, 8031, '127.0.0.1')
assert.throws(function() {
new Buffer('"pong"', 0, 6, 8031, '127.0.0.1')
});

Loading…
Cancel
Save