Commit 3b7f278d authored by Marc Mutz's avatar Marc Mutz
Browse files

tst_qstringref: remove some wtf?



As best as I can guess, this used the QString::operator=(char), which
I locally removed. Before that lands in Qt, remove this ... wtf?

Pick-to: 5.15
Change-Id: Ie083fe69500d6b5b633416f89f5dd1d7068c20b2
Reviewed-by: default avatarGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: default avatarEdward Welbourne <edward.welbourne@qt.io>
parent 49e69827
......@@ -1188,7 +1188,7 @@ void tst_QStringRef::toNum()
QVERIFY(ok);
QString::number(d + 1e32, 'e', 17).leftRef(-1).toFloat(&ok);
QVERIFY(!ok);
a = QString::number(-d, 'e', 17).leftRef(-1).toFloat(&ok);
QString::number(-d, 'e', 17).leftRef(-1).toFloat(&ok);
QVERIFY(ok);
QString::number(-d - 1e32, 'e', 17).leftRef(-1).toFloat(&ok);
QVERIFY(!ok);
......
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