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 2e197bc commit 55866ea
Show file tree
Hide file tree
Showing 264 changed files with 264 additions and 264 deletions.
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/fs/read-file-list/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var readFileList = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof resolveParentPath, 'function', 'main export is a function' );
t.strictEqual( typeof resolveParentPath, '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', function test( t ) {
t.ok( true, __filename );
t.equal( typeof resolveParentPath, 'function', 'main export is a function' );
t.strictEqual( typeof resolveParentPath, '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/fs/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var fs = require( './../lib' );

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

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/function/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 @@ -28,6 +28,6 @@ var incrBinaryClassification = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof incrBinaryClassification, 'function', 'main export is a function' );
t.strictEqual( typeof incrBinaryClassification, 'function', 'main export is a function' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var incrBinaryClassification = require( './../lib' );

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function options() {

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
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var dot = require( './../lib/dot.js' );

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

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof incrSGDRegression, 'function', 'main export is a function' );
t.strictEqual( typeof incrSGDRegression, 'function', 'main export is a function' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var epsilonInsensitiveLoss = require( './../lib/loss/epsilon_insensitive.js' );

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

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof incrSGDRegression, 'function', 'main export is a function' );
t.strictEqual( typeof incrSGDRegression, '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
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var WeightVector = require( './../lib/weight_vector.js' );

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

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ml/incr/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/ml/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var ml = require( './../lib' );

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

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/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/ndarray/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/ndarray/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 @@ -28,6 +28,6 @@ var httpServer = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof httpServer, 'function', 'main export is a function' );
t.strictEqual( typeof httpServer, 'function', 'main export is a function' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var request = require( './fixtures/request.js' );

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof getOpts, 'function', 'main export is a function' );
t.strictEqual( typeof getOpts, '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/net/http-server/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var httpServer = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof httpServer, 'function', 'main export is a function' );
t.strictEqual( typeof httpServer, '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
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ var httpServer = require( './../lib' );

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof httpServer, 'function', 'main export is a function' );
t.strictEqual( typeof httpServer, 'function', 'main export is a function' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var httpServer = require( './../lib' );

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof getOpts, 'function', 'main export is a function' );
t.strictEqual( typeof getOpts, '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/net/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var net = require( './../lib' );

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

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

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

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof lda, 'function', 'main export is a function' );
t.strictEqual( typeof lda, 'function', 'main export is a function' );
t.end();
});
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/nlp/lda/test/test.validate.js
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
Loading

0 comments on commit 55866ea

Please sign in to comment.