Skip to content

Commit 1f0756f

Browse files
committed
Fix tests
1 parent 4bac4cb commit 1f0756f

File tree

1 file changed

+8
-8
lines changed
  • lib/node_modules/@stdlib/strided/dispatch/docs/types

1 file changed

+8
-8
lines changed

lib/node_modules/@stdlib/strided/dispatch/docs/types/test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -889,14 +889,14 @@ function stridedWithOffsets( arrays: Array<ArrayLike<any>>, shape: Array<number>
889889
const u = new Float64Array( w.length );
890890

891891
const f = dispatch( strided, types, data, 16, 4, 1 );
892-
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, '10', w, 1, u, 1 ); // $ExpectError
893-
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, true, w, 1, u, 1 ); // $ExpectError
894-
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, false, w, 1, u, 1 ); // $ExpectError
895-
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, null, w, 1, u, 1 ); // $ExpectError
896-
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, undefined, w, 1, u, 1 ); // $ExpectError
897-
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, [ '1' ], w, 1, u, 1 ); // $ExpectError
898-
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, {}, w, 1, u, 1 ); // $ExpectError
899-
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, ( x: number ): number => x, w, 1, u, 1 ); // $ExpectError
892+
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, '10', 'float64', w, 1, 'float64', u, 1 ); // $ExpectError
893+
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, true, 'float64', w, 1, 'float64', u, 1 ); // $ExpectError
894+
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, false, 'float64', w, 1, 'float64', u, 1 ); // $ExpectError
895+
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, null, 'float64', w, 1, 'float64', u, 1 ); // $ExpectError
896+
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, undefined, 'float64', w, 1, 'float64', u, 1 ); // $ExpectError
897+
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, [ '1' ], 'float64', w, 1, 'float64', u, 1 ); // $ExpectError
898+
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, {}, 'float64', w, 1, 'float64', u, 1 ); // $ExpectError
899+
f( x.length, 'float64', x, 1, 'float64', y, 1, 'float64', z, ( x: number ): number => x, 'float64', w, 1, 'float64', u, 1 ); // $ExpectError
900900
}
901901

902902
// The compiler throws an error if the returned function is provided a twelfth argument which is not an array-like object (5 strided arrays)...

0 commit comments

Comments
 (0)