1
0
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:
Sébastien Helleu
2014-07-29 07:39:30 +02:00
parent 3ffbb85cb9
commit 3d6b9ff5a7
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -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);
-2
View File
@@ -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: