mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
spelling: separator
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
committed by
Sébastien Helleu
parent
358b8ad2a6
commit
7f93f81a82
@@ -1770,7 +1770,7 @@ TEST(CoreString, Split)
|
||||
STRCMP_EQUAL(NULL, argv[2]);
|
||||
string_free_split (argv);
|
||||
|
||||
/* standard split with comma separtor and empty item (keep this item) */
|
||||
/* standard split with comma separator and empty item (keep this item) */
|
||||
flags = 0;
|
||||
argc = -1;
|
||||
argv = string_split ("abc,,fghi", ",", NULL, flags, 0, &argc);
|
||||
@@ -1782,7 +1782,7 @@ TEST(CoreString, Split)
|
||||
STRCMP_EQUAL(NULL, argv[3]);
|
||||
string_free_split (argv);
|
||||
|
||||
/* standard split with comma separtor and empty items (keep them) */
|
||||
/* standard split with comma separator and empty items (keep them) */
|
||||
flags = 0;
|
||||
argc = -1;
|
||||
argv = string_split (",abc,,fghi,", ",", NULL, flags, 0, &argc);
|
||||
@@ -1797,7 +1797,7 @@ TEST(CoreString, Split)
|
||||
string_free_split (argv);
|
||||
|
||||
/*
|
||||
* standard split with comma separtor and empty items (keep them),
|
||||
* standard split with comma separator and empty items (keep them),
|
||||
* max 2 items
|
||||
*/
|
||||
flags = 0;
|
||||
@@ -1811,7 +1811,7 @@ TEST(CoreString, Split)
|
||||
string_free_split (argv);
|
||||
|
||||
/*
|
||||
* standard split with comma separtor and empty items (keep them),
|
||||
* standard split with comma separator and empty items (keep them),
|
||||
* max 3 items
|
||||
*/
|
||||
flags = 0;
|
||||
@@ -1826,7 +1826,7 @@ TEST(CoreString, Split)
|
||||
string_free_split (argv);
|
||||
|
||||
/*
|
||||
* standard split with comma separtor and empty items (keep them),
|
||||
* standard split with comma separator and empty items (keep them),
|
||||
* max 4 items
|
||||
*/
|
||||
flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user