Fix buffer test
This commit is contained in:
parent
5e409c2f1a
commit
6461af1baa
@ -523,4 +523,6 @@ assert.equal(0xef, b[3]);
|
|||||||
|
|
||||||
|
|
||||||
// This should not segfault the program.
|
// 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…
x
Reference in New Issue
Block a user