Skip to content

Commit 1fdb4dd

Browse files
committed
Avoid unconventional formatting
1 parent f2e4cff commit 1fdb4dd

File tree

1 file changed

+4
-2
lines changed
  • lib/node_modules/@stdlib/assert/is-object-array/test

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ tape( 'main export is a function', function test( t ) {
3434

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

38-
arr = [ {
39+
obj = {
3940
'type': 'object'
40-
}, /.*/, {} ];
41+
};
42+
arr = [ obj, /.*/, {} ];
4143
t.equal( isObjectArray( arr ), true, 'returns true' );
4244

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

0 commit comments

Comments
 (0)