Skip to content

Commit

Permalink
style: fix test description for splitPreservingConsecutiveSeparators
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimAziev committed Apr 16, 2024
1 parent 63266df commit f3d094c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/src/util/string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ describe('splitPreservingConsecutiveSeparators', () => {
['Ctrl-x ', ['Ctrl', 'x', ' ']],
['Ctrl-x ', ['Ctrl', 'x']],
[' ', [' ']],
])('splitKeySequence("%s") => %s', (str, expected) => {
])('splitPreservingConsecutiveSeparators("%s") => %s', (str, expected) => {
expect(splitPreservingConsecutiveSeparators(str, ['-', ' '])).toEqual(
expected,
);
Expand Down

0 comments on commit f3d094c

Please sign in to comment.