diff --git a/base/idamax/test/test.ndarray.js b/base/idamax/test/test.ndarray.js index d7dc5d136..6a53cb7a0 100644 --- a/base/idamax/test/test.ndarray.js +++ b/base/idamax/test/test.ndarray.js @@ -108,7 +108,7 @@ tape( 'if provided an `N` parameter equal to `1`, the function returns `0`', fun t.end(); }); -tape( 'if provided a `strideX` parameter less than or equal to `0`, the function returns `0`', function test( t ) { +tape( 'if provided a `strideX` parameter less than or equal to `0`, the function returns `-1`', function test( t ) { var expected; var idx; var x; diff --git a/base/idamax/test/test.ndarray.native.js b/base/idamax/test/test.ndarray.native.js index 96953e880..320ed6b0e 100644 --- a/base/idamax/test/test.ndarray.native.js +++ b/base/idamax/test/test.ndarray.native.js @@ -117,7 +117,7 @@ tape( 'if provided an `N` parameter equal to `1`, the function returns `0`', opt t.end(); }); -tape( 'if provided a `strideX` parameter less than or equal to `0`, the function returns `0`', opts, function test( t ) { +tape( 'if provided a `strideX` parameter less than or equal to `0`, the function returns `-1`', opts, function test( t ) { var expected; var idx; var x;