Skip to content

Commit 333903a

Browse files
committed
Explicitly require number constructor and add spaces
1 parent 9635417 commit 333903a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/node_modules/@stdlib/random/shuffle/test/test.factory.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
var tape = require( 'tape' );
2626
var constructorName = require( '@stdlib/utils/constructor-name' );
2727
var Int32Array = require( '@stdlib/array/int32' );
28+
var Number = require( '@stdlib/number/ctor' );
2829
var factory = require( './../lib/factory.js' );
2930

3031

@@ -196,12 +197,12 @@ tape( 'the returned function shuffles the elements of an array (creating a shall
196197
arr = [
197198
{ 'a': 1 },
198199
{ 'b': new Number( 2 ) },
199-
{ 'c': [1, 2, 3] }
200+
{ 'c': [ 1, 2, 3 ] }
200201
];
201202
expected = [
202203
{ 'b': new Number( 2 ) },
203204
{ 'a': 1 },
204-
{ 'c': [1, 2, 3] }
205+
{ 'c': [ 1, 2, 3 ] }
205206
];
206207
actual = shuffle( arr, {
207208
'copy': 'shallow'

0 commit comments

Comments
 (0)