diff options
Diffstat (limited to 'tests')
-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); |