Skip to content

Commit 18f498c

Browse files
authored
test: use consistent messages
Signed-off-by: Athan <kgryte@gmail.com>
1 parent e28065c commit 18f498c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • lib/node_modules/@stdlib/stats/base/ndarray/dnanmeanors/test

lib/node_modules/@stdlib/stats/base/ndarray/dnanmeanors/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ tape( 'the function computes the arithmetic mean (ignoring NaNs)', function test
6464
x = new Float64Array( [ 1.0, -2.0, NaN, 2.0 ] );
6565

6666
v = dnanmeanors( [ vector( x, 4, 1, 0 ) ] );
67-
t.strictEqual( v, 1.0/3.0, 'returns expected mean' );
67+
t.strictEqual( v, 1.0/3.0, 'returns expected value' );
6868

6969
x = new Float64Array( [ 1.0, -2.0, -4.0, 5.0, NaN, 0.0, 3.0 ] );
7070
v = dnanmeanors( [ vector( x, 7, 1, 0 ) ] );
@@ -82,7 +82,7 @@ tape( 'when provided an empty input ndarray, the function returns NaN', function
8282

8383
x = new Float64Array( [] );
8484
v = dnanmeanors( [ vector( x, 0, 1, 0 ) ] );
85-
t.strictEqual( isnan( v ), true, 'returns NaN' );
85+
t.strictEqual( isnan( v ), true, 'returns expected value' );
8686
t.end();
8787
});
8888

@@ -92,7 +92,7 @@ tape( 'when provided an input ndarray containing only NaN values, the function r
9292

9393
x = new Float64Array( [ NaN, NaN, NaN ] );
9494
v = dnanmeanors( [ vector( x, 3, 1, 0 ) ] );
95-
t.strictEqual( isnan( v ), true, 'returns NaN' );
95+
t.strictEqual( isnan( v ), true, 'returns expected value' );
9696
t.end();
9797
});
9898

0 commit comments

Comments
 (0)