From e2cf4817ad4cdf3c460a442d8ede23d3e473c293 Mon Sep 17 00:00:00 2001 From: Junichi Kajiwara Date: Wed, 18 Feb 2015 11:15:30 +0900 Subject: [PATCH] Update callback.js --- test/callback.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/callback.js b/test/callback.js index 815d96b9..6467244b 100644 --- a/test/callback.js +++ b/test/callback.js @@ -49,7 +49,7 @@ describe('Callback', function () { assert.equal(0, nul.address()) }) - it.skip('should throw an Error when invoked through a ForeignFunction and throws', function () { + it('should throw an Error when invoked through a ForeignFunction and throws', function () { var cb = ffi.Callback('void', [ ], function () { throw new Error('callback threw') }) @@ -59,7 +59,7 @@ describe('Callback', function () { }, /callback threw/) }) - it.skip('should throw an Error with a meaningful message when a type\'s "set()" throws', function () { + it('should throw an Error with a meaningful message when a type\'s "set()" throws', function () { var cb = ffi.Callback('int', [ ], function () { return 'a string!?!?' })