diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2020-05-14 14:43:01 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2020-05-14 20:30:35 +0000 |
commit | 3b7f278d38582d100b8a5da6b790d765e52420eb (patch) | |
tree | ea81cbbb305e7ce51fc21209dcf4081a7d8e88fb /tests/auto/corelib/text | |
parent | 49e69827d2be045751ded48645904b4349115212 (diff) |
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>
Diffstat (limited to 'tests/auto/corelib/text')
-rw-r--r-- | tests/auto/corelib/text/qstringref/tst_qstringref.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qstringref/tst_qstringref.cpp b/tests/auto/corelib/text/qstringref/tst_qstringref.cpp index 25f56a5df0..7eea1db7c8 100644 --- a/tests/auto/corelib/text/qstringref/tst_qstringref.cpp +++ b/tests/auto/corelib/text/qstringref/tst_qstringref.cpp @@ -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); |