Fix tests. Regular expression should support french names.
--HG-- branch : develop
This commit is contained in:
parent
d9f93a28e4
commit
cbfe69756f
|
@ -102,9 +102,12 @@ void TST_NameRegExp::TestNameRegExp_data()
|
|||
tag = localeName+QLatin1String(". Any next character can't be \"")+decimalPoint+QLatin1String("\"");
|
||||
QTest::newRow(qUtf8Printable(tag)) << QLatin1String("a")+decimalPoint << false;
|
||||
|
||||
if (groupSeparator != '\'')
|
||||
{
|
||||
tag = localeName+QLatin1String(". Any next character can't be \"")+groupSeparator+QLatin1String("\"");
|
||||
QTest::newRow(qUtf8Printable(tag)) << QLatin1String("a")+groupSeparator << false;
|
||||
}
|
||||
}
|
||||
|
||||
QTest::newRow("First character can't be \"+\"") << "+a" << false;
|
||||
QTest::newRow("First character can't be \"*\"") << "*a" << false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user