Skip to content

Commit 14a1679

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent f810453 commit 14a1679

File tree

1 file changed

+8
-8
lines changed
  • lib/node_modules/@stdlib/string/base/slice-grapheme-clusters/test

1 file changed

+8
-8
lines changed

lib/node_modules/@stdlib/string/base/slice-grapheme-clusters/test/test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,17 @@ tape( 'the function slices an input string based on grapheme cluster indices', f
9090
t.end();
9191
});
9292

93-
tape('the function slices an input string based on grapheme cluster indices (skin-tone emojis)', function test(t) {
93+
tape( 'the function slices an input string based on grapheme cluster indices (skin-tone emojis)', function test( t ) {
9494
var out;
9595

96-
out = sliceGraphemeClusters('🌷👨‍👩‍👧‍👦👉🏿', 1, 2);
97-
t.strictEqual(out, '👨‍👩‍👧‍👦', 'returns expected value');
96+
out = sliceGraphemeClusters( '🌷👨‍👩‍👧‍👦👉🏿', 1, 2 );
97+
t.strictEqual( out, '👨‍👩‍👧‍👦', 'returns expected value' );
9898

99-
out = sliceGraphemeClusters('🏝️👨‍👩‍👧‍👦', 1, 2);
100-
t.strictEqual(out, '👨‍👩‍👧‍👦', 'returns expected value');
99+
out = sliceGraphemeClusters( '🏝️👨‍👩‍👧‍👦', 1, 2 );
100+
t.strictEqual( out, '👨‍👩‍👧‍👦', 'returns expected value' );
101101

102-
out = sliceGraphemeClusters('👋🏾🤦🏽‍♀️🧑🏿', 1, 2);
103-
t.strictEqual(out, '🤦🏽‍♀️', 'returns expected value');
102+
out = sliceGraphemeClusters( '👋🏾🤦🏽‍♀️🧑🏿', 1, 2 );
103+
t.strictEqual( out, '🤦🏽‍♀️', 'returns expected value' );
104104

105105
t.end();
106106
});
@@ -126,7 +126,7 @@ tape( 'the function supports providing negative indices', function test( t ) {
126126
t.end();
127127
});
128128

129-
tape('the function supports providing negative indices (skin-tone emojis)', function test(t) {
129+
tape( 'the function supports providing negative indices (skin-tone emojis)', function test( t ) {
130130
var out;
131131

132132
out = sliceGraphemeClusters( '🌷👨‍👩‍👧‍👦👉🏿', -2, -1 );

0 commit comments

Comments
 (0)