Commit 531ec1a6 authored by pvuorela's avatar pvuorela

[qtcontacts-sqlite] Fix unit tests. Contributes to JB#38781

Commit 589dfd96 broke the phone number test by changing
the meaning of , and . characters. Assuming here the unit
test just needs mechanic change of expectation.
parent 8d56179e
......@@ -186,17 +186,17 @@ void tst_PhoneNumber::normalization_data()
QTest::newRow("punctuation")
<< "12-34.567.-890"
<< "12-34.567.-890"
<< "12-34.567.-890"
<< "1234567890"
<< "1234567890"
<< "12-34"
<< "1234.567.890"
<< "1234.567.890"
<< true;
QTest::newRow("invalid punctuation")
<< "12_34,567,|890"
<< "1234567890"
<< "1234567890"
<< "1234567890"
<< "1234567890"
<< "1234,567,890"
<< "1234"
<< "1234,567,890"
<< "1234,567,890"
<< false;
QTest::newRow("plus 1")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment