Skip to content

Commit b595c37

Browse files
authored
test: fix method name
Signed-off-by: Athan <[email protected]>
1 parent 31c8729 commit b595c37

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/dstructs/named-typed-tuple/test

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/dstructs/named-typed-tuple/test/test.slice.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ tape( 'a tuple has a `slice` method', function test( t ) {
4343
});
4444
p = new Point( [ 10, 20 ] );
4545

46-
t.strictEqual( hasOwnProp( p, 'toJSON' ), true, 'returns expected value' );
47-
t.strictEqual( isFunction( p.toJSON ), true, 'returns expected value' );
46+
t.strictEqual( hasOwnProp( p, 'slice' ), true, 'returns expected value' );
47+
t.strictEqual( isFunction( p.slice ), true, 'returns expected value' );
4848
t.end();
4949
});
5050

0 commit comments

Comments
 (0)