Skip to content

Commit 10af3be

Browse files
committed
test: fix test descriptions
1 parent d8a3f4f commit 10af3be

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/napi/argv-strided-complex128array2d/include/stdlib/napi/argv_strided_complex128array2d.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@
8080
* }
8181
*/
8282
#define STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY2D( env, X, M, N, strideX1, strideX2, argv, index ) \
83-
napi_value __STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY2D_ERR_ ## X; \
83+
napi_value __STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY2D_ERR_ ## X; \
8484
double *X; \
8585
stdlib_napi_argv_strided_complex128array2d( env, M, N, strideX1, strideX2, argv[ index ], &X, "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument must be a Float64Array.", "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument has insufficient elements based on the associated strides and the number of rows and columns.", &__STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY2D_ERR_ ## X ); \
86-
if ( __STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY2D_ERR_ ## X != NULL ) { \
86+
if ( __STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY2D_ERR_ ## X != NULL ) { \
8787
STDLIB_ASSERT_NAPI_STATUS_OK_RET_NULL( env, napi_throw( env, __STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY2D_ERR_ ## X ), "" ) \
8888
return NULL; \
8989
}

lib/node_modules/@stdlib/napi/argv-strided-complex128array2d/test/test.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ tape( 'main export is a function', opts, function test( t ) {
4444
t.end();
4545
});
4646

47-
tape( 'the function throws an error if provided argument which is not a Complex128Array', opts, function test( t ) {
47+
tape( 'the function throws an error if provided argument which is not a Float64Array', opts, function test( t ) {
4848
var values;
4949
var i;
5050

@@ -71,7 +71,7 @@ tape( 'the function throws an error if provided argument which is not a Complex1
7171
}
7272
});
7373

74-
tape( 'the function does not throw an error if provided a Complex128Array', opts, function test( t ) {
74+
tape( 'the function does not throw an error if provided a Float64Array', opts, function test( t ) {
7575
var expected;
7676
var x;
7777

0 commit comments

Comments
 (0)