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
Marc Mutz 2020-05-14 14:43:01 +02:00
parent 49e69827d2
commit 3b7f278d38
1 changed files with 1 additions and 1 deletions

View File

@ -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);