diff options
| author | Tyge Løvset <[email protected]> | 2022-12-14 10:35:13 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-12-14 10:35:13 +0100 |
| commit | 992812341a98c889297db8df0f8a34f1c59d07bb (patch) | |
| tree | adf301c5b1e43fda286b990b3a451cc5cecf5ac1 /tests | |
| parent | 0db528ed0062920e9bd5b2c7fcdc7506bd41abad (diff) | |
| download | STC-modified-992812341a98c889297db8df0f8a34f1c59d07bb.tar.gz STC-modified-992812341a98c889297db8df0f8a34f1c59d07bb.zip | |
cregex: renamed enums to all uppercase and prefixed CREG_
Diffstat (limited to 'tests')
| -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); } } |
