Skip to content

Commit 7c09052

Browse files
authored
test: update assertion messages
Signed-off-by: Athan <kgryte@gmail.com>
1 parent f077670 commit 7c09052

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/constants/float32/min-ln/test

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/constants/float32/min-ln/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ tape( 'main export is a number', function test( t ) {
3737
});
3838

3939
tape( 'export is a single-precision floating-point number equal to the natural logarithm of the smallest normalized single-precision floating-point number', function test( t ) {
40-
t.equal( FLOAT32_MIN_LN, -lnf( float64ToFloat32( pow( 2, 126 ) ) ), 'equals the logarithm of the smallest normalized single-precision floating-point number' );
41-
t.equal( FLOAT32_MIN_LN, lnf( SMALLEST_NORMAL ), 'equals the logarithm of the smallest normalized single-precision floating-point number' );
40+
t.equal( FLOAT32_MIN_LN, -lnf( float64ToFloat32( pow( 2, 126 ) ) ), 'returns expected value' );
41+
t.equal( FLOAT32_MIN_LN, lnf( SMALLEST_NORMAL ), 'returns expected value' );
4242
t.end();
4343
});

0 commit comments

Comments
 (0)