Skip to content

Commit 7a3cf65

Browse files
committed
Avoid unconventional formatting
1 parent 58effcd commit 7a3cf65

File tree

1 file changed

+6
-5
lines changed
  • lib/node_modules/@stdlib/assert/is-plain-object-array/test

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,16 @@ tape( 'main export is a function', function test( t ) {
3434

3535
tape( 'the function tests for an array-like object containing only plain objects', function test( t ) {
3636
var arr;
37+
var obj;
3738

38-
arr = [ {
39+
obj = {
3940
'type': 'object'
40-
}, {}, {} ];
41+
};
42+
43+
arr = [ obj, {}, {} ];
4144
t.strictEqual( isPlainObjectArray( arr ), true, 'returns true' );
4245

43-
arr = [ {
44-
'type': 'object'
45-
}, /.*/, {} ];
46+
arr = [ obj, /.*/, {} ];
4647
t.strictEqual( isPlainObjectArray( arr ), false, 'returns false' );
4748

4849
arr = [ 5.0, {}, new Date() ];

0 commit comments

Comments
 (0)