Fix buffer test

This commit is contained in:
Ryan Dahl 2011-05-19 12:41:17 -07:00
parent 5e409c2f1a
commit 6461af1baa

View File

@ -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')
});