Skip to content

Commit

Permalink
refactor: use strictEqual checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Jul 24, 2023
1 parent 6c7e770 commit b734544
Show file tree
Hide file tree
Showing 379 changed files with 382 additions and 382 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var isComposite = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isComposite, 'function', 'main export is a function' );
t.strictEqual( typeof isComposite, '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 isCoprime = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isCoprime, 'function', 'main export is a function' );
t.strictEqual( typeof isCoprime, '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 isEven = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isEven, 'function', 'main export is a function' );
t.strictEqual( typeof isEven, '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 isfinite = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isfinite, 'function', 'main export is a function' );
t.strictEqual( typeof isfinite, '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', opts, function test( t ) {
t.ok( true, __filename );
t.equal( typeof isfinite, 'function', 'main export is a function' );
t.strictEqual( typeof isfinite, '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 isfinitef = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isfinitef, 'function', 'main export is a function' );
t.strictEqual( typeof isfinitef, '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', opts, function test( t ) {
t.ok( true, __filename );
t.equal( typeof isfinitef, 'function', 'main export is a function' );
t.strictEqual( typeof isfinitef, 'function', 'main export is a function' );
t.end();
});

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isInfinite, 'function', 'main export is a function' );
t.strictEqual( typeof isInfinite, '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', opts, function test( t ) {
t.ok( true, __filename );
t.equal( typeof isInfinite, 'function', 'main export is a function' );
t.strictEqual( typeof isInfinite, 'function', 'main export is a function' );
t.end();
});

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isInfinitef, 'function', 'main export is a function' );
t.strictEqual( typeof isInfinitef, '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', opts, function test( t ) {
t.ok( true, __filename );
t.equal( typeof isInfinitef, 'function', 'main export is a function' );
t.strictEqual( typeof isInfinitef, '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 isInteger = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isInteger, 'function', 'main export is a function' );
t.strictEqual( typeof isInteger, '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', opts, function test( t ) {
t.ok( true, __filename );
t.equal( typeof isInteger, 'function', 'main export is a function' );
t.strictEqual( typeof isInteger, '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 isnan = require( './../lib' );

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

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

tape( 'main export is a function', opts, function test( t ) {
t.ok( true, __filename );
t.equal( typeof isnan, 'function', 'main export is a function' );
t.strictEqual( typeof isnan, '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 isnanf = require( './../lib' );

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

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

tape( 'main export is a function', opts, function test( t ) {
t.ok( true, __filename );
t.equal( typeof isnanf, 'function', 'main export is a function' );
t.strictEqual( typeof isnanf, '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 isNegativeFinite = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isNegativeFinite, 'function', 'main export is a function' );
t.strictEqual( typeof isNegativeFinite, '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 isNegativeInteger = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isNegativeInteger, 'function', 'main export is a function' );
t.strictEqual( typeof isNegativeInteger, '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 isNegativeZero = require( './../lib' );

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

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

tape( 'main export is a function', opts, function test( t ) {
t.ok( true, __filename );
t.equal( typeof isNegativeZero, 'function', 'main export is a function' );
t.strictEqual( typeof isNegativeZero, '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 isNegativeZerof = require( './../lib' );

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

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

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isNonNegativeFinite, 'function', 'main export is a function' );
t.strictEqual( typeof isNonNegativeFinite, '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 isNonNegativeInteger = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isNonPositiveFinite, 'function', 'main export is a function' );
t.strictEqual( typeof isNonPositiveFinite, '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 isNonPositiveInteger = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isNonPositiveInteger, 'function', 'main export is a function' );
t.strictEqual( typeof isNonPositiveInteger, '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 isOdd = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isPositiveFinite, 'function', 'main export is a function' );
t.strictEqual( typeof isPositiveFinite, '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 isPositiveInteger = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isPositiveInteger, 'function', 'main export is a function' );
t.strictEqual( typeof isPositiveInteger, '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 isPositiveZero = require( './../lib' );

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

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

tape( 'main export is a function', opts, function test( t ) {
t.ok( true, __filename );
t.equal( typeof isPositiveZero, 'function', 'main export is a function' );
t.strictEqual( typeof isPositiveZero, '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 isPositiveZerof = require( './../lib' );

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

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

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof isPrime, 'function', 'main export is a function' );
t.strictEqual( typeof isPrime, '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 isProbability = require( './../lib' );

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

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

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/math/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/math/base/napi/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/math/base/ops/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 @@ -33,7 +33,7 @@ var abs = require( './../lib/abs.js' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof abs, 'function', 'main export is a function' );
t.strictEqual( typeof abs, '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 HIGH = require( './../lib/high.js' );

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

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

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

Expand Down
Loading

0 comments on commit b734544

Please sign in to comment.