diff --git a/lib/node_modules/@stdlib/ndarray/index-modes/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/index-modes/benchmark/benchmark.js index 86fa5b935b17..8eb2581d62ce 100644 --- a/lib/node_modules/@stdlib/ndarray/index-modes/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/index-modes/benchmark/benchmark.js @@ -35,8 +35,8 @@ bench( pkg, function benchmark( b ) { b.tic(); for ( i = 0; i < b.iterations; i++ ) { out = modes(); - if ( out.length !== 3 ) { - b.fail( 'should return an array of length 3' ); + if ( out.length < 2 ) { + b.fail( 'should return an array of strings' ); } } b.toc();