diff options
Diffstat (limited to 'tests/cregex_test.c')
| -rw-r--r-- | tests/cregex_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cregex_test.c b/tests/cregex_test.c index 7cd87e89..3125600f 100644 --- a/tests/cregex_test.c +++ b/tests/cregex_test.c @@ -196,13 +196,13 @@ START_TEST(search_all) csview m = {0}; int res; - res = cregex_find("ab,ab,ab", &m, cre_m_next); + res = cregex_find("ab,ab,ab", &m, CREG_M_NEXT); EXPECT_TRUE(res==1 && M_START(re, m) == 0); - res = cregex_find("ab,ab,ab", &m, cre_m_next); + res = cregex_find("ab,ab,ab", &m, CREG_M_NEXT); EXPECT_TRUE(res==1 && M_START(re, m) == 3); - res = cregex_find("ab,ab,ab", &m, cre_m_next); + res = cregex_find("ab,ab,ab", &m, CREG_M_NEXT); EXPECT_TRUE(res==1 && M_START(re, m) == 6); - res = cregex_find("ab,ab,ab", &m, cre_m_next); + res = cregex_find("ab,ab,ab", &m, CREG_M_NEXT); EXPECT_NE(res, 1); } } |
