mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +08:00
fix warnings
This commit is contained in:
parent
79dc535dfe
commit
58b5c4958e
@ -518,8 +518,8 @@ TEST(Utils, strrstr) {
|
||||
ASSERT_STREQ(tk_strrstr("abc abc123", "abc"), "abc123");
|
||||
ASSERT_STREQ(tk_strrstr("abc abc123aaabc", "abc"), "abc");
|
||||
|
||||
ASSERT_EQ(tk_strrstr("abc" + 1, "abc") == NULL, true);
|
||||
ASSERT_EQ(tk_strrstr("abc" + 1, "123") == NULL, true);
|
||||
ASSERT_EQ(tk_strrstr("bc", "abc") == NULL, true);
|
||||
ASSERT_EQ(tk_strrstr("bc", "123") == NULL, true);
|
||||
}
|
||||
|
||||
TEST(Utils, totitle) {
|
||||
|
Loading…
Reference in New Issue
Block a user