Skip to content

Commit

Permalink
chore: use strictEqual checks and resolve lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Jul 24, 2023
1 parent 10c6209 commit 0e39133
Show file tree
Hide file tree
Showing 54 changed files with 46 additions and 56 deletions.
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/iter/concat/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var iterConcat = require( './../lib' );

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/iter/unique-by-hash/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var iterUniqueByHash = require( './../lib' );

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

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

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

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

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

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

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

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

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,8 @@ var LOW = indices.LOW;
* |s| e1 e2 | f1 f2 f3 f4 f5 f6 f7 |
* ```
*
*
* In which Uint32 should we place the higher order bits? If little endian, the second; if big endian, the first.
*
*
* ## References
*
* - [Open Group][1]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ var UINT32_VIEW = new Uint32Array( FLOAT64_VIEW.buffer );
*
* In which Uint32 can we find the higher order bits? If little endian, the second; if big endian, the first.
*
*
* ## References
*
* - [Open Group][1]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ var UINT32_VIEW = new Uint32Array( FLOAT64_VIEW.buffer );
*
* In which Uint32 can we find the lower order bits? If little endian, the first; if big endian, the second.
*
*
* ## References
*
* - [Open Group][1]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ var UINT32_VIEW = new Uint32Array( FLOAT64_VIEW.buffer );
*
* In which Uint32 can we find the higher order bits? If little endian, the second; if big endian, the first.
*
*
* ## References
*
* - [Open Group][1]
Expand Down
Loading

0 comments on commit 0e39133

Please sign in to comment.