Skip to content

Commit c20a214

Browse files
committed
Clean-up
1 parent 808b8b8 commit c20a214

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

lib/node_modules/@stdlib/assert/is-empty-array-like-object/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ var bool = isEmptyArrayLikeObject( { 'length': 0 } );
7373
bool = isEmptyArrayLikeObject( [] );
7474
// returns true
7575

76-
bool = isEmptyArrayLikeObject( new Float64Array( 0 ) );
76+
bool = isEmptyArrayLikeObject( new Float64Array( [] ) );
7777
// returns true
7878

7979
bool = isEmptyArrayLikeObject( 'beep' );

lib/node_modules/@stdlib/assert/is-empty-array-like-object/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ console.log( isEmptyArrayLikeObject( { 'length': 0 } ) );
2929
console.log( isEmptyArrayLikeObject( [] ) );
3030
// => true
3131

32-
console.log( isEmptyArrayLikeObject( new Float64Array( 0 ) ) );
32+
console.log( isEmptyArrayLikeObject( new Float64Array( [] ) ) );
3333
// => true
3434

3535
console.log( isEmptyArrayLikeObject( 'beep' ) );

lib/node_modules/@stdlib/assert/is-empty-array-like-object/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838

3939
// MODULES //
4040

41-
var isEmptyArrayLikeObject = require( './main.js' );
41+
var main = require( './main.js' );
4242

4343

4444
// EXPORTS //
4545

46-
module.exports = isEmptyArrayLikeObject;
46+
module.exports = main;

lib/node_modules/@stdlib/assert/is-empty-array-like-object/test/test.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable object-curly-newline, no-unused-vars */
20-
2119
'use strict';
2220

2321
// MODULES //
@@ -41,8 +39,8 @@ tape( 'the function returns `true` if provided an empty array-like object', func
4139

4240
values = [
4341
[],
44-
{ 'length': 0 },
45-
new Float64Array( 0 )
42+
{ 'length': 0 }, // eslint-disable-line object-curly-newline
43+
new Float64Array( [] )
4644
];
4745

4846
for ( i = 0; i < values.length; i++ ) {
@@ -57,7 +55,7 @@ tape( 'the function returns `false` if provided a non-empty array-like object',
5755

5856
values = [
5957
[ 1.0, 2.0, 3.0 ],
60-
{ 'length': 10 },
58+
{ 'length': 10 }, // eslint-disable-line object-curly-newline
6159
new Float64Array( 10 )
6260
];
6361

@@ -80,7 +78,7 @@ tape( 'the function returns `false` if not provided an array-like object', funct
8078
true,
8179
false,
8280
{},
83-
function boop( a, b, c ) {}
81+
function noop() {}
8482
];
8583

8684
for ( i = 0; i < values.length; i++ ) {

0 commit comments

Comments
 (0)