Skip to content

Commit 9c3ea43

Browse files
committed
fix: add more tests to fix code coverage
1 parent df8f433 commit 9c3ea43

File tree

1 file changed

+3
-0
lines changed
  • lib/node_modules/@stdlib/string/base/reverse-code-point/test

1 file changed

+3
-0
lines changed

lib/node_modules/@stdlib/string/base/reverse-code-point/test/test.js

+3
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,8 @@ tape( 'the function reverses the Unicode code point of a provided string (surrog
7373
out = reverse( 'foo\uD834bar\uDF06baz' );
7474
t.strictEqual( out, 'zab\uDF06rab\uD834oof', 'returns expected value' );
7575

76+
out = reverse( 'foo\uD834bar\uDF06\uD834' );
77+
t.strictEqual( out, '\uD834\uDF06rab\uD834oof', 'returns expected value' );
78+
7679
t.end();
7780
});

0 commit comments

Comments
 (0)