mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
tests: add tests of function string_is_word_char
This commit is contained in:
@@ -48,6 +48,7 @@ extern char *string_remove_quotes (const char *string, const char *quotes);
|
||||
extern char *string_strip (const char *string, int left, int right,
|
||||
const char *chars);
|
||||
extern char *string_convert_escaped_chars (const char *string);
|
||||
extern int string_is_word_char (const char *string);
|
||||
extern char *string_mask_to_regex (const char *mask);
|
||||
extern const char *string_regex_flags (const char *regex, int default_flags,
|
||||
int *flags);
|
||||
|
||||
@@ -363,7 +363,6 @@ TEST(String, ConvertEscapedChars)
|
||||
* string_is_word_char
|
||||
*/
|
||||
|
||||
/*
|
||||
TEST(String, IsWordChar)
|
||||
{
|
||||
LONGS_EQUAL(0, string_is_word_char (NULL));
|
||||
@@ -379,7 +378,6 @@ TEST(String, IsWordChar)
|
||||
LONGS_EQUAL(1, string_is_word_char ("_abc"));
|
||||
LONGS_EQUAL(1, string_is_word_char ("|abc"));
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
|
||||
Reference in New Issue
Block a user