diff --git a/is-nonnegative-finite/test/test.object.js b/is-nonnegative-finite/test/test.object.js index c1853bb6..04634f55 100644 --- a/is-nonnegative-finite/test/test.object.js +++ b/is-nonnegative-finite/test/test.object.js @@ -43,6 +43,11 @@ tape( 'the function returns `false` if provided positive infinity', function tes t.end(); }); +tape( 'the function returns `false` if provided positive infinity', function test( t ) { + t.equal( isNonNegativeFinite( new Number( 1.0/0.0 ) ), false, 'returns false' ); + t.end(); +}); + tape( 'the function returns `false` if not provided a nonnegative number', function test( t ) { var values; var i;