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: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>bb10
parent
49e69827d2
commit
3b7f278d38
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue