mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-22 05:33:32 +01:00
Add single quote '\'' as delimiter.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
33a4d781b9
commit
680b29198c
@ -43,10 +43,10 @@ void TextTestResult::setup()
|
||||
std::string::const_iterator end = ignored.end();
|
||||
while (it != end)
|
||||
{
|
||||
while (it != end && (std::isspace(*it) || *it == '"')) ++it;
|
||||
while (it != end && (std::isspace(*it) || *it == '"' || *it == '\'')) ++it;
|
||||
std::string test;
|
||||
while (it != end && *it != ',' && *it != '"') test += *it++;
|
||||
if (it != end && (*it == ',' || *it == '"')) ++it;
|
||||
while (it != end && *it != ',' && *it != '"' && *it != '\'') test += *it++;
|
||||
if (it != end && (*it == ',' || *it == '"' || *it == '\'')) ++it;
|
||||
if (!test.empty()) _ignored.insert(test);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user