Skip to content

Commit 45fecc3

Browse files
authored
chore: update benchmark
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 7a03202 commit 45fecc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/array/base/to-inserted-at/benchmark/benchmark.length.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function createBenchmark( len ) {
5454
b.tic();
5555
for ( i = 0; i < b.iterations; i++ ) {
5656
out = array2InsertedAt( x, i%len, i );
57-
if ( out.length !== len ) {
57+
if ( out.length !== len + 1 ) {
5858
b.fail( 'unexpected length' );
5959
}
6060
}

0 commit comments

Comments
 (0)