Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/assert/is-gzip-buffer/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tape( 'main export is a function', function test( t ) {

tape( 'the function returns `true` if provided a gzip buffer', function test( t ) {
t.strictEqual( isgzipBuffer( new Uint8Array( DATA ) ), true, 'returns expected value' );
t.strictEqual( isgzipBuffer( new Buffer( DATA ) ), true, 'returns expected value' ); // eslint-disable-line no-buffer-constructor
t.strictEqual( isgzipBuffer( new Buffer( DATA ) ), true, 'returns expected value' );
t.end();
});

Expand Down Expand Up @@ -77,8 +77,8 @@ tape( 'the function returns `false` if not provided a gzip buffer', function tes
new Uint8Array( 20 ),
new Int8Array( 20 ),
new Uint8ClampedArray( 20 ),
new Buffer( 10 ), // eslint-disable-line no-buffer-constructor
new Buffer( 20 ), // eslint-disable-line no-buffer-constructor
new Buffer( 10 ),
new Buffer( 20 ),
DATA
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
var FLOAT64_PINF = require( './../lib' );

console.log( FLOAT64_PINF );
// => Number.POSITIVE_INFINITY
// => Infinity
Loading