Permalink
Browse files

test: fix "errno" test on Windows

  • Loading branch information...
1 parent c1c5ad0 commit c333aae3a3b784f7b2a0984f505ee41714804ab5 @TooTallNate TooTallNate committed Sep 16, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 test/errno.js
View
@@ -17,9 +17,7 @@ describe('errno()', function () {
var strtoul = new ffi.Library(lib, {
'strtoul': [ 'ulong', [ 'string', 'string', 'int' ] ]
}).strtoul
- var before = errno()
strtoul('1234567890123456789012345678901234567890', null, 0)
- assert.notEqual(before, errno())
assert.equal(34, errno()) // errno == ERANGE
})

0 comments on commit c333aae

Please sign in to comment.