Skip to content

Commit 55866ea

Browse files
committed
test: use strictEqual checks
1 parent 2e197bc commit 55866ea

File tree

264 files changed

+264
-264
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

264 files changed

+264
-264
lines changed

lib/node_modules/@stdlib/fs/read-file-list/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var readFileList = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof readFileList, 'function', 'main export is a function' );
31+
t.strictEqual( typeof readFileList, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/fs/read-file-list/test/test.sync.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var opts = {
3838

3939
tape( 'main export is a function', function test( t ) {
4040
t.ok( true, __filename );
41-
t.equal( typeof readFileList, 'function', 'main export is a function' );
41+
t.strictEqual( typeof readFileList, 'function', 'main export is a function' );
4242
t.end();
4343
});
4444

lib/node_modules/@stdlib/fs/resolve-parent-path-by/test/test.async.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var opts = {
4141

4242
tape( 'main export is a function', function test( t ) {
4343
t.ok( true, __filename );
44-
t.equal( typeof resolveParentPathBy, 'function', 'main export is a function' );
44+
t.strictEqual( typeof resolveParentPathBy, 'function', 'main export is a function' );
4545
t.end();
4646
});
4747

lib/node_modules/@stdlib/fs/resolve-parent-path-by/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var resolveParentPathBy = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof resolveParentPathBy, 'function', 'main export is a function' );
31+
t.strictEqual( typeof resolveParentPathBy, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/fs/resolve-parent-path-by/test/test.sync.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var opts = {
4040

4141
tape( 'main export is a function', function test( t ) {
4242
t.ok( true, __filename );
43-
t.equal( typeof resolveParentPathBy, 'function', 'main export is a function' );
43+
t.strictEqual( typeof resolveParentPathBy, 'function', 'main export is a function' );
4444
t.end();
4545
});
4646

lib/node_modules/@stdlib/fs/resolve-parent-path-by/test/test.validate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var validate = require( './../lib/validate.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof validate, 'function', 'main export is a function' );
31+
t.strictEqual( typeof validate, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/fs/resolve-parent-path/test/test.async.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var opts = {
4141

4242
tape( 'main export is a function', function test( t ) {
4343
t.ok( true, __filename );
44-
t.equal( typeof resolveParentPath, 'function', 'main export is a function' );
44+
t.strictEqual( typeof resolveParentPath, 'function', 'main export is a function' );
4545
t.end();
4646
});
4747

lib/node_modules/@stdlib/fs/resolve-parent-path/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var resolveParentPath = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof resolveParentPath, 'function', 'main export is a function' );
31+
t.strictEqual( typeof resolveParentPath, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/fs/resolve-parent-path/test/test.sync.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var opts = {
4040

4141
tape( 'main export is a function', function test( t ) {
4242
t.ok( true, __filename );
43-
t.equal( typeof resolveParentPath, 'function', 'main export is a function' );
43+
t.strictEqual( typeof resolveParentPath, 'function', 'main export is a function' );
4444
t.end();
4545
});
4646

lib/node_modules/@stdlib/fs/resolve-parent-path/test/test.validate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var validate = require( './../lib/validate.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof validate, 'function', 'main export is a function' );
31+
t.strictEqual( typeof validate, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/fs/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var fs = require( './../lib' );
2929

3030
tape( 'main export is an object', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof fs, 'object', 'main export is an object' );
32+
t.strictEqual( typeof fs, 'object', 'main export is an object' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/function/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var ns = require( './../lib' );
2929

3030
tape( 'main export is an object', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof ns, 'object', 'main export is an object' );
32+
t.strictEqual( typeof ns, 'object', 'main export is an object' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/ml/incr/binary-classification/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ var incrBinaryClassification = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof incrBinaryClassification, 'function', 'main export is a function' );
31+
t.strictEqual( typeof incrBinaryClassification, 'function', 'main export is a function' );
3232
t.end();
3333
});

lib/node_modules/@stdlib/ml/incr/binary-classification/test/test.main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var incrBinaryClassification = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof incrBinaryClassification, 'function', 'main export is a function' );
31+
t.strictEqual( typeof incrBinaryClassification, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/ml/incr/binary-classification/test/test.model.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var Model = require( './../lib/model.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof Model, 'function', 'main export is a function' );
31+
t.strictEqual( typeof Model, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/ml/incr/binary-classification/test/test.validate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function options() {
4646

4747
tape( 'main export is a function', function test( t ) {
4848
t.ok( true, __filename );
49-
t.equal( typeof validate, 'function', 'main export is a function' );
49+
t.strictEqual( typeof validate, 'function', 'main export is a function' );
5050
t.end();
5151
});
5252

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.dot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var dot = require( './../lib/dot.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof dot, 'function', 'main export is a function' );
31+
t.strictEqual( typeof dot, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.eta_factory.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var factory = require( './../lib/eta_factory.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof factory, 'function', 'main export is a function' );
31+
t.strictEqual( typeof factory, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ var incrSGDRegression = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof incrSGDRegression, 'function', 'main export is a function' );
31+
t.strictEqual( typeof incrSGDRegression, 'function', 'main export is a function' );
3232
t.end();
3333
});

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.loss.epsilon_insensitive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var epsilonInsensitiveLoss = require( './../lib/loss/epsilon_insensitive.js' );
2929

3030
tape( 'main export is a function', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof epsilonInsensitiveLoss, 'function', 'main export is a function' );
32+
t.strictEqual( typeof epsilonInsensitiveLoss, 'function', 'main export is a function' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.loss.huber.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var huberLoss = require( './../lib/loss/huber.js' );
2929

3030
tape( 'main export is a function', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof huberLoss, 'function', 'main export is a function' );
32+
t.strictEqual( typeof huberLoss, 'function', 'main export is a function' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.loss.squared_error.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var squaredErrorLoss = require( './../lib/loss/squared_error.js' );
2929

3030
tape( 'main export is a function', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof squaredErrorLoss, 'function', 'main export is a function' );
32+
t.strictEqual( typeof squaredErrorLoss, 'function', 'main export is a function' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var incrSGDRegression = require( './../lib' );
2929

3030
tape( 'main export is a function', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof incrSGDRegression, 'function', 'main export is a function' );
32+
t.strictEqual( typeof incrSGDRegression, 'function', 'main export is a function' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.validate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var validate = require( './../lib/validate.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof validate, 'function', 'main export is a function' );
31+
t.strictEqual( typeof validate, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.weight_vector.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var WeightVector = require( './../lib/weight_vector.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof WeightVector, 'function', 'main export is a function' );
31+
t.strictEqual( typeof WeightVector, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/ml/incr/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var ns = require( './../lib' );
2929

3030
tape( 'main export is an object', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof ns, 'object', 'main export is an object' );
32+
t.strictEqual( typeof ns, 'object', 'main export is an object' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/ml/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var ml = require( './../lib' );
2929

3030
tape( 'main export is an object', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof ml, 'object', 'main export is an object' );
32+
t.strictEqual( typeof ml, 'object', 'main export is an object' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/ndarray/base/assert/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var ns = require( './../lib' );
2929

3030
tape( 'main export is an object', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof ns, 'object', 'main export is an object' );
32+
t.strictEqual( typeof ns, 'object', 'main export is an object' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/ndarray/base/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var ns = require( './../lib' );
2929

3030
tape( 'main export is an object', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof ns, 'object', 'main export is an object' );
32+
t.strictEqual( typeof ns, 'object', 'main export is an object' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/ndarray/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var ns = require( './../lib' );
2929

3030
tape( 'main export is an object', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof ns, 'object', 'main export is an object' );
32+
t.strictEqual( typeof ns, 'object', 'main export is an object' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/net/disposable-http-server/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ var httpServer = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof httpServer, 'function', 'main export is a function' );
31+
t.strictEqual( typeof httpServer, 'function', 'main export is a function' );
3232
t.end();
3333
});

lib/node_modules/@stdlib/net/disposable-http-server/test/test.main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var request = require( './fixtures/request.js' );
3838

3939
tape( 'main export is a function', function test( t ) {
4040
t.ok( true, __filename );
41-
t.equal( typeof httpServer, 'function', 'main export is a function' );
41+
t.strictEqual( typeof httpServer, 'function', 'main export is a function' );
4242
t.end();
4343
});
4444

lib/node_modules/@stdlib/net/disposable-http-server/test/test.opts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var getOpts = require( './../lib/opts.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof getOpts, 'function', 'main export is a function' );
31+
t.strictEqual( typeof getOpts, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/net/disposable-http-server/test/test.validate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var validate = require( './../lib/validate.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof validate, 'function', 'main export is a function' );
31+
t.strictEqual( typeof validate, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/net/http-server/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var httpServer = require( './../lib' );
3232

3333
tape( 'main export is a function', function test( t ) {
3434
t.ok( true, __filename );
35-
t.equal( typeof httpServer, 'function', 'main export is a function' );
35+
t.strictEqual( typeof httpServer, 'function', 'main export is a function' );
3636
t.end();
3737
});
3838

lib/node_modules/@stdlib/net/http-server/test/test.validate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var validate = require( './../lib/validate.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof validate, 'function', 'main export is a function' );
31+
t.strictEqual( typeof validate, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/net/simple-http-server/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ var httpServer = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof httpServer, 'function', 'main export is a function' );
31+
t.strictEqual( typeof httpServer, 'function', 'main export is a function' );
3232
t.end();
3333
});

lib/node_modules/@stdlib/net/simple-http-server/test/test.main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var httpServer = require( './../lib' );
3232

3333
tape( 'main export is a function', function test( t ) {
3434
t.ok( true, __filename );
35-
t.equal( typeof httpServer, 'function', 'main export is a function' );
35+
t.strictEqual( typeof httpServer, 'function', 'main export is a function' );
3636
t.end();
3737
});
3838

lib/node_modules/@stdlib/net/simple-http-server/test/test.opts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var getOpts = require( './../lib/opts.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof getOpts, 'function', 'main export is a function' );
31+
t.strictEqual( typeof getOpts, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/net/simple-http-server/test/test.validate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var validate = require( './../lib/validate.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof validate, 'function', 'main export is a function' );
31+
t.strictEqual( typeof validate, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/net/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var net = require( './../lib' );
2929

3030
tape( 'main export is an object', function test( t ) {
3131
t.ok( true, __filename );
32-
t.equal( typeof net, 'object', 'main export is an object' );
32+
t.strictEqual( typeof net, 'object', 'main export is an object' );
3333
t.end();
3434
});
3535

lib/node_modules/@stdlib/nlp/expand-acronyms/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var expandAcronyms = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof expandAcronyms, 'function', 'main export is a function' );
31+
t.strictEqual( typeof expandAcronyms, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/nlp/expand-contractions/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var expandContractions = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof expandContractions, 'function', 'main export is a function' );
31+
t.strictEqual( typeof expandContractions, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

lib/node_modules/@stdlib/nlp/lda/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ var lda = require( './../lib' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof lda, 'function', 'main export is a function' );
31+
t.strictEqual( typeof lda, 'function', 'main export is a function' );
3232
t.end();
3333
});

lib/node_modules/@stdlib/nlp/lda/test/test.validate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var validate = require( './../lib/validate.js' );
2828

2929
tape( 'main export is a function', function test( t ) {
3030
t.ok( true, __filename );
31-
t.equal( typeof validate, 'function', 'main export is a function' );
31+
t.strictEqual( typeof validate, 'function', 'main export is a function' );
3232
t.end();
3333
});
3434

0 commit comments

Comments
 (0)