Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fix buffer test
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed May 19, 2011
1 parent 5e409c2 commit 6461af1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/simple/test-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
});

0 comments on commit 6461af1

Please sign in to comment.