Skip to content

Commit 6c7e770

Browse files
committed
refactor: use strictEqual checks
1 parent a81b24f commit 6c7e770

File tree

44 files changed

+44
-44
lines changed

Some content is hidden

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

44 files changed

+44
-44
lines changed

lib/node_modules/@stdlib/string/base/capitalize/test/test.js

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

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

lib/node_modules/@stdlib/string/base/distances/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/string/base/left-pad/test/test.js

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

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

lib/node_modules/@stdlib/string/base/left-trim/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var ltrim = require( './../lib' );
3131

3232
tape( 'main export is a function', function test( t ) {
3333
t.ok( true, __filename );
34-
t.equal( typeof ltrim, 'function', 'main export is a function' );
34+
t.strictEqual( typeof ltrim, 'function', 'main export is a function' );
3535
t.end();
3636
});
3737

lib/node_modules/@stdlib/string/base/left-trim/test/test.main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var opts = {
3636

3737
tape( 'main export is a function', opts, function test( t ) {
3838
t.ok( true, __filename );
39-
t.equal( typeof ltrim, 'function', 'main export is a function' );
39+
t.strictEqual( typeof ltrim, 'function', 'main export is a function' );
4040
t.end();
4141
});
4242

lib/node_modules/@stdlib/string/base/left-trim/test/test.polyfill.js

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

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

lib/node_modules/@stdlib/string/base/lowercase/test/test.js

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

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

lib/node_modules/@stdlib/string/base/repeat/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var repeat = require( './../lib' );
3131

3232
tape( 'main export is a function', function test( t ) {
3333
t.ok( true, __filename );
34-
t.equal( typeof repeat, 'function', 'main export is a function' );
34+
t.strictEqual( typeof repeat, 'function', 'main export is a function' );
3535
t.end();
3636
});
3737

lib/node_modules/@stdlib/string/base/repeat/test/test.main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var opts = {
3636

3737
tape( 'main export is a function', opts, function test( t ) {
3838
t.ok( true, __filename );
39-
t.equal( typeof repeat, 'function', 'main export is a function' );
39+
t.strictEqual( typeof repeat, 'function', 'main export is a function' );
4040
t.end();
4141
});
4242

lib/node_modules/@stdlib/string/base/repeat/test/test.polyfill.js

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

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

lib/node_modules/@stdlib/string/base/replace/test/test.js

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

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

lib/node_modules/@stdlib/string/base/right-pad/test/test.js

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

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

lib/node_modules/@stdlib/string/base/right-trim/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var rtrim = require( './../lib' );
3131

3232
tape( 'main export is a function', function test( t ) {
3333
t.ok( true, __filename );
34-
t.equal( typeof rtrim, 'function', 'main export is a function' );
34+
t.strictEqual( typeof rtrim, 'function', 'main export is a function' );
3535
t.end();
3636
});
3737

lib/node_modules/@stdlib/string/base/right-trim/test/test.main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var opts = {
3636

3737
tape( 'main export is a function', opts, function test( t ) {
3838
t.ok( true, __filename );
39-
t.equal( typeof rtrim, 'function', 'main export is a function' );
39+
t.strictEqual( typeof rtrim, 'function', 'main export is a function' );
4040
t.end();
4141
});
4242

lib/node_modules/@stdlib/string/base/right-trim/test/test.polyfill.js

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

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

lib/node_modules/@stdlib/string/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/string/base/trim/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var trim = require( './../lib' );
3131

3232
tape( 'main export is a function', function test( t ) {
3333
t.ok( true, __filename );
34-
t.equal( typeof trim, 'function', 'main export is a function' );
34+
t.strictEqual( typeof trim, 'function', 'main export is a function' );
3535
t.end();
3636
});
3737

lib/node_modules/@stdlib/string/base/trim/test/test.main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var opts = {
3636

3737
tape( 'main export is a function', opts, function test( t ) {
3838
t.ok( true, __filename );
39-
t.equal( typeof trim, 'function', 'main export is a function' );
39+
t.strictEqual( typeof trim, 'function', 'main export is a function' );
4040
t.end();
4141
});
4242

lib/node_modules/@stdlib/string/base/trim/test/test.polyfill.js

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

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

lib/node_modules/@stdlib/string/base/uncapitalize/test/test.js

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

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

lib/node_modules/@stdlib/string/base/uppercase/test/test.js

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

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

lib/node_modules/@stdlib/string/capitalize/test/test.js

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

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

lib/node_modules/@stdlib/string/left-pad/test/test.js

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

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

lib/node_modules/@stdlib/string/left-trim/test/test.js

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

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

lib/node_modules/@stdlib/string/lowercase/test/test.js

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

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

lib/node_modules/@stdlib/string/num2words/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var num2words = require( './../lib' );
3131

3232
tape( 'main export is a function', function test( t ) {
3333
t.ok( true, __filename );
34-
t.equal( typeof num2words, 'function', 'main export is a function' );
34+
t.strictEqual( typeof num2words, 'function', 'main export is a function' );
3535
t.end();
3636
});
3737

lib/node_modules/@stdlib/string/num2words/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/string/pad/test/test.js

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

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

lib/node_modules/@stdlib/string/pad/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/string/remove-punctuation/test/test.js

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

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

lib/node_modules/@stdlib/string/remove-utf8-bom/test/test.js

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

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

lib/node_modules/@stdlib/string/remove-words/test/test.js

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

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

lib/node_modules/@stdlib/string/repeat/test/test.js

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

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

lib/node_modules/@stdlib/string/replace/test/test.js

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

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

lib/node_modules/@stdlib/string/right-pad/test/test.js

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

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

lib/node_modules/@stdlib/string/right-trim/test/test.js

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

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

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

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

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

lib/node_modules/@stdlib/string/to-grapheme-cluster-iterator-right/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var graphemeClusters2iteratorRight = require( './../lib' ); // eslint-disable-li
3333

3434
tape( 'main export is a function', function test( t ) {
3535
t.ok( true, __filename );
36-
t.equal( typeof graphemeClusters2iteratorRight, 'function', 'main export is a function' );
36+
t.strictEqual( typeof graphemeClusters2iteratorRight, 'function', 'main export is a function' );
3737
t.end();
3838
});
3939

lib/node_modules/@stdlib/string/to-grapheme-cluster-iterator/test/test.js

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

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

lib/node_modules/@stdlib/string/tools/grapheme-cluster-break/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var grapheme = require( './../lib' );
3030

3131
tape( 'main export is an object', function test( t ) {
3232
t.ok( true, __filename );
33-
t.equal( typeof grapheme, 'object', 'main export is an object' );
33+
t.strictEqual( typeof grapheme, 'object', 'main export is an object' );
3434
t.end();
3535
});
3636

lib/node_modules/@stdlib/string/tools/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/string/trim/test/test.js

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

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

lib/node_modules/@stdlib/string/uncapitalize/test/test.js

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

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

lib/node_modules/@stdlib/string/uppercase/test/test.js

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

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

0 commit comments

Comments
 (0)