Skip to content

Commit

Permalink
test: use strictEqual checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Jul 24, 2023
1 parent 11b2b38 commit 3f60609
Show file tree
Hide file tree
Showing 249 changed files with 249 additions and 249 deletions.
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/assert/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var ns = require( './../lib' );

tape( 'main export is an object', function test( t ) {
t.ok( true, __filename );
t.equal( typeof ns, 'object', 'main export is an object' );
t.strictEqual( typeof ns, 'object', 'main export is an object' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var ns = require( './../lib' );

tape( 'main export is an object', function test( t ) {
t.ok( true, __filename );
t.equal( typeof ns, 'object', 'main export is an object' );
t.strictEqual( typeof ns, 'object', 'main export is an object' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/datespace/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var datespace = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof datespace, 'function', 'main export is a function' );
t.strictEqual( typeof datespace, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/from-iterator/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var iterator2array = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof iterator2array, 'function', 'main export is a function' );
t.strictEqual( typeof iterator2array, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/incrspace/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var incrspace = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof incrspace, 'function', 'main export is a function' );
t.strictEqual( typeof incrspace, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function AccessorArray( len ) {

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof linspace, 'function', 'main export is a function' );
t.strictEqual( typeof linspace, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/linspace/test/test.main.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var linspace = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof linspace, 'function', 'main export is a function' );
t.strictEqual( typeof linspace, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var validate = require( './../lib/validate.js' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof validate, 'function', 'main export is a function' );
t.strictEqual( typeof validate, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/logspace/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var logspace = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof logspace, 'function', 'main export is a function' );
t.strictEqual( typeof logspace, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var ns = require( './../lib' );

tape( 'main export is an object', function test( t ) {
t.ok( true, __filename );
t.equal( typeof ns, 'object', 'main export is an object' );
t.strictEqual( typeof ns, 'object', 'main export is an object' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var circarray2iterator = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof circarray2iterator, 'function', 'main export is a function' );
t.strictEqual( typeof circarray2iterator, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var array2iteratorRight = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof array2iteratorRight, 'function', 'main export is a function' );
t.strictEqual( typeof array2iteratorRight, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/to-iterator/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var array2iterator = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof array2iterator, 'function', 'main export is a function' );
t.strictEqual( typeof array2iterator, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var sparsearray2iteratorRight = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof sparsearray2iteratorRight, 'function', 'main export is a function' );
t.strictEqual( typeof sparsearray2iteratorRight, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var sparsearray2iterator = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof sparsearray2iterator, 'function', 'main export is a function' );
t.strictEqual( typeof sparsearray2iterator, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var stridedarray2iterator = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof stridedarray2iterator, 'function', 'main export is a function' );
t.strictEqual( typeof stridedarray2iterator, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var arrayview2iteratorRight = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof arrayview2iteratorRight, 'function', 'main export is a function' );
t.strictEqual( typeof arrayview2iteratorRight, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var arrayview2iterator = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof arrayview2iterator, 'function', 'main export is a function' );
t.strictEqual( typeof arrayview2iterator, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/assert/contains/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var contains = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof contains, 'function', 'main export is a function' );
t.strictEqual( typeof contains, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/assert/deep-equal/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var deepEqual = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof deepEqual, 'function', 'main export is a function' );
t.strictEqual( typeof deepEqual, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var hasUTF16SurrogatePairAt = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof hasUTF16SurrogatePairAt, 'function', 'main export is a function' );
t.strictEqual( typeof hasUTF16SurrogatePairAt, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var isAbsolutePath = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isAbsolutePath, 'function', 'main export is a function' );
t.strictEqual( typeof isAbsolutePath, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var isAbsolutePath = require( './../lib/posix.js' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isAbsolutePath, 'function', 'main export is a function' );
t.strictEqual( typeof isAbsolutePath, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var isAbsolutePath = require( './../lib/win32.js' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isAbsolutePath, 'function', 'main export is a function' );
t.strictEqual( typeof isAbsolutePath, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var isAccessorPropertyIn = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isAccessorPropertyIn, 'function', 'export is a function' );
t.strictEqual( typeof isAccessorPropertyIn, 'function', 'export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var isAccessorProperty = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isAccessorProperty, 'function', 'export is a function' );
t.strictEqual( typeof isAccessorProperty, 'function', 'export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/assert/is-array-like/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var isArrayLike = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isArrayLike, 'function', 'main export is a function' );
t.strictEqual( typeof isArrayLike, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/assert/is-array/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var isArray = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isArray, 'function', 'main export is a function' );
t.strictEqual( typeof isArray, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/assert/is-big-endian/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var IS_BIG_ENDIAN = require( './../lib' );

tape( 'main export is a boolean', function test( t ) {
t.ok( true, __filename );
t.equal( typeof IS_BIG_ENDIAN, 'boolean', 'main export is a boolean' );
t.strictEqual( typeof IS_BIG_ENDIAN, 'boolean', 'main export is a boolean' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var isBinaryString = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isBinaryString, 'function', 'main export is a function' );
t.strictEqual( typeof isBinaryString, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var isBlankString = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isBlankString, 'function', 'main export is a function' );
t.strictEqual( typeof isBlankString, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var isBooleanArray = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isBooleanArray, 'function', 'main export is a function' );
t.strictEqual( typeof isBooleanArray, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/assert/is-boolean/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var isBoolean = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isBoolean, 'function', 'main export is a function' );
t.strictEqual( typeof isBoolean, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var isBoolean = require( './../lib/main.js' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isBoolean, 'function', 'main export is a function' );
t.strictEqual( typeof isBoolean, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var opts = {

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isBoolean, 'function', 'main export is a function' );
t.strictEqual( typeof isBoolean, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var isBoolean = require( './../lib/primitive.js' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isBoolean, 'function', 'main export is a function' );
t.strictEqual( typeof isBoolean, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var serialize = require( './../lib/try2serialize.js' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof serialize, 'function', 'main export is a function' );
t.strictEqual( typeof serialize, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var opts = {

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isBoxedPrimitive, 'function', 'main export is a function' );
t.strictEqual( typeof isBoxedPrimitive, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var IS_BROWSER = require( './../lib/browser.js' );

tape( 'main export is a boolean', function test( t ) {
t.ok( true, __filename );
t.equal( typeof IS_BROWSER, 'boolean', 'main export is a boolean' );
t.strictEqual( typeof IS_BROWSER, 'boolean', 'main export is a boolean' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/assert/is-browser/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ var IS_BROWSER = require( './../lib' );

tape( 'main export is a boolean', function test( t ) {
t.ok( true, __filename );
t.equal( typeof IS_BROWSER, 'boolean', 'main export is a boolean' );
t.strictEqual( typeof IS_BROWSER, 'boolean', 'main export is a boolean' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if ( typeof global === 'undefined' ) {

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isBrowser, 'function', 'main export is a function' );
t.strictEqual( typeof isBrowser, 'function', 'main export is a function' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/assert/is-buffer/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var isBuffer = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isBuffer, 'function', 'export is a function' );
t.strictEqual( typeof isBuffer, 'function', 'export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var isCapitalized = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isCapitalized, 'function', 'main export is a function' );
t.strictEqual( typeof isCapitalized, 'function', 'main export is a function' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var isCentrosymmetricMatrix = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isCentrosymmetricMatrix, 'function', 'main export is a function' );
t.strictEqual( typeof isCentrosymmetricMatrix, 'function', 'main export is a function' );
t.end();
});

Expand Down
Loading

0 comments on commit 3f60609

Please sign in to comment.