File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/node_modules/@stdlib/random/shuffle/test Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2525var tape = require ( 'tape' ) ;
2626var constructorName = require ( '@stdlib/utils/constructor-name' ) ;
2727var Int32Array = require ( '@stdlib/array/int32' ) ;
28+ var Number = require ( '@stdlib/number/ctor' ) ;
2829var 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'
You can’t perform that action at this time.
0 commit comments