Skip to content

Commit

Permalink
test: fix expected value
Browse files Browse the repository at this point in the history
Signed-off-by: Athan <kgryte@gmail.com>
  • Loading branch information
kgryte authored Nov 27, 2024
1 parent 6d77e6a commit fd94b2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ tape( 'the method supports specifying a starting search index', function test( t
arr = new ctor( 'little-endian', [ 1.0, 2.0, 3.0, 4.0, 2.0 ] );

v = arr.indexOf( 2.0, 0 );
t.strictEqual( v, 2, 'returns expected value' );
t.strictEqual( v, 1, 'returns expected value' );

v = arr.indexOf( 2.0, 2 );
t.strictEqual( v, 4, 'returns expected value' );
Expand Down

0 comments on commit fd94b2d

Please sign in to comment.