Skip to content

Commit a7df21a

Browse files
committed
Fix tests
1 parent 1f0756f commit a7df21a

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,7 @@ function stridedWithOffsets( arrays: Array<ArrayLike<any>>, shape: Array<number>
18181818
f( x.length, 'float64', x, 1, 0, 'float64', y, 1, undefined, 'float64', z, 1, 0, 'float64', w, 1, 0, 'float64', u, 1, 0 ); // $ExpectError
18191819
f( x.length, 'float64', x, 1, 0, 'float64', y, 1, [ '1' ], 'float64', z, 1, 0, 'float64', w, 1, 0, 'float64', u, 1, 0 ); // $ExpectError
18201820
f( x.length, 'float64', x, 1, 0, 'float64', y, 1, {}, 'float64', z, 1, 0, 'float64', w, 1, 0, 'float64', u, 1, 0 ); // $ExpectError
1821-
f( x.length, 'float64', x, 1, 0, 'float64', y, 1, ( x: number ): number => x, z, 1, 0, w, 1, 0, u, 1, 0 ); // $ExpectError
1821+
f( x.length, 'float64', x, 1, 0, 'float64', y, 1, ( x: number ): number => x, 'float64', z, 1, 0, 'float64', w, 1, 0, 'float64', u, 1, 0 ); // $ExpectError
18221822
}
18231823

18241824
// The compiler throws an error if the returned function supporting offsets is provided an eleventh argument which is not an array-like object (5 strided arrays)...

0 commit comments

Comments
 (0)