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 b734544 commit d5fa8e8
Show file tree
Hide file tree
Showing 1,040 changed files with 1,040 additions and 1,040 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var factory = require( './../lib/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,7 +28,7 @@ var randomStream = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof objectMode, 'function', 'main export is a function' );
t.strictEqual( typeof objectMode, '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 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 @@ -31,7 +31,7 @@ var factory = require( './../lib/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,7 +28,7 @@ var randomStream = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof objectMode, 'function', 'main export is a function' );
t.strictEqual( typeof objectMode, '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 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 @@ -31,7 +31,7 @@ var factory = require( './../lib/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
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/random/streams/beta/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var randomStream = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof objectMode, 'function', 'main export is a function' );
t.strictEqual( typeof objectMode, '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 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 @@ -31,7 +31,7 @@ var factory = require( './../lib/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,7 +28,7 @@ var randomStream = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof objectMode, 'function', 'main export is a function' );
t.strictEqual( typeof objectMode, '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 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 @@ -31,7 +31,7 @@ var factory = require( './../lib/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,7 +28,7 @@ var randomStream = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof objectMode, 'function', 'main export is a function' );
t.strictEqual( typeof objectMode, '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 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 @@ -31,7 +31,7 @@ var factory = require( './../lib/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,7 +28,7 @@ var randomStream = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof objectMode, 'function', 'main export is a function' );
t.strictEqual( typeof objectMode, '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 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 @@ -31,7 +31,7 @@ var factory = require( './../lib/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,7 +28,7 @@ var randomStream = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof objectMode, 'function', 'main export is a function' );
t.strictEqual( typeof objectMode, '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 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 @@ -31,7 +31,7 @@ var factory = require( './../lib/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
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/random/streams/chi/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var randomStream = require( './../lib' );

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

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

tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.equal( typeof objectMode, 'function', 'main export is a function' );
t.strictEqual( typeof objectMode, '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 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 @@ -31,7 +31,7 @@ var factory = require( './../lib/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,7 +28,7 @@ var randomStream = require( './../lib' );

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

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

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

Expand Down
Loading

0 comments on commit d5fa8e8

Please sign in to comment.