Skip to content

Commit

Permalink
Update lib/node_modules/@stdlib/string/base/last/test/test.js
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Burckhardt <[email protected]>
  • Loading branch information
Planeshifter authored Mar 8, 2024
1 parent 3347046 commit f45a6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/string/base/last/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ tape( 'the function supports returning the last `n` UTF-16 code units of a provi
t.end();
});

tape( 'the function returns whole string if `n` is greater than length of string', function test( t ) {
tape( 'the function returns the original string if `n` is greater than the length of the string', function test( t ) {
var s;

s = last( 'hello world', 20 );
Expand Down

0 comments on commit f45a6fc

Please sign in to comment.