summaryrefslogtreecommitdiff
path: root/Tests/LibRegex/RegexLibC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibRegex/RegexLibC.cpp')
-rw-r--r--Tests/LibRegex/RegexLibC.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/Tests/LibRegex/RegexLibC.cpp b/Tests/LibRegex/RegexLibC.cpp
index 2b212c23d9..05bc755613 100644
--- a/Tests/LibRegex/RegexLibC.cpp
+++ b/Tests/LibRegex/RegexLibC.cpp
@@ -407,7 +407,7 @@ TEST_CASE(parens_qualifier_questionmark)
regex_t regex;
static constexpr int num_matches { 5 };
regmatch_t matches[num_matches];
- const char* match_str;
+ char const* match_str;
EXPECT_EQ(regcomp(&regex, pattern.characters(), REG_EXTENDED), REG_NOERR);
@@ -437,7 +437,7 @@ TEST_CASE(parens_qualifier_asterisk)
regex_t regex;
static constexpr int num_matches { 6 };
regmatch_t matches[num_matches];
- const char* match_str;
+ char const* match_str;
EXPECT_EQ(regcomp(&regex, pattern.characters(), REG_EXTENDED), REG_NOERR);
@@ -483,7 +483,7 @@ TEST_CASE(parens_qualifier_asterisk_2)
regex_t regex;
static constexpr int num_matches { 6 };
regmatch_t matches[num_matches];
- const char* match_str;
+ char const* match_str;
EXPECT_EQ(regcomp(&regex, pattern.characters(), REG_EXTENDED), REG_NOERR);
@@ -527,7 +527,7 @@ TEST_CASE(mulit_parens_qualifier_too_less_result_values)
regex_t regex;
static constexpr int num_matches { 4 };
regmatch_t matches[num_matches];
- const char* match_str;
+ char const* match_str;
matches[3] = { -2, -2, 100 };
@@ -591,7 +591,7 @@ TEST_CASE(multi_parens_qualifier_questionmark)
regex_t regex;
static constexpr int num_matches { 8 };
regmatch_t matches[num_matches];
- const char* match_str;
+ char const* match_str;
EXPECT_EQ(regcomp(&regex, pattern.characters(), REG_EXTENDED), REG_NOERR);
@@ -682,7 +682,7 @@ TEST_CASE(alternative_match_groups)
regex_t regex;
static constexpr int num_matches { 8 };
regmatch_t matches[num_matches];
- const char* match_str;
+ char const* match_str;
EXPECT_EQ(regcomp(&regex, pattern.characters(), REG_EXTENDED), REG_NOERR);
@@ -788,7 +788,7 @@ TEST_CASE(parens_qualifier_exact)
regex_t regex;
static constexpr int num_matches { 5 };
regmatch_t matches[num_matches];
- const char* match_str;
+ char const* match_str;
EXPECT_EQ(regcomp(&regex, pattern.characters(), REG_EXTENDED), REG_NOERR);
@@ -835,7 +835,7 @@ TEST_CASE(parens_qualifier_minimum)
regex_t regex;
static constexpr int num_matches { 5 };
regmatch_t matches[num_matches];
- const char* match_str;
+ char const* match_str;
EXPECT_EQ(regcomp(&regex, pattern.characters(), REG_EXTENDED), REG_NOERR);
@@ -893,7 +893,7 @@ TEST_CASE(parens_qualifier_maximum)
regex_t regex;
static constexpr int num_matches { 5 };
regmatch_t matches[num_matches];
- const char* match_str;
+ char const* match_str;
EXPECT_EQ(regcomp(&regex, pattern.characters(), REG_EXTENDED), REG_NOERR);