diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-01-17 10:22:07 +0100 |
---|---|---|
committer | Kevin Simons <kevin.simons@nokia.com> | 2012-01-17 10:32:52 +0100 |
commit | 4e04496e68880e87990fea47f09e48cfd28af4fe (patch) | |
tree | cee705d513fef868fbd68bf73a56ec78b4262480 | |
parent | 9ec8bad9f415bdb924580e73c6cd6d7955d40c5a (diff) |
Fix a bug in the test case
Update the test case to reflect the API
change from number to double.
Change-Id: I43055885de0b461d93674087f09beda85eefb342
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kevin Simons <kevin.simons@nokia.com>
-rw-r--r-- | tests/auto/tst_qtjson.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/tst_qtjson.cpp b/tests/auto/tst_qtjson.cpp index 813b72e..d3c07dd 100644 --- a/tests/auto/tst_qtjson.cpp +++ b/tests/auto/tst_qtjson.cpp @@ -1442,11 +1442,11 @@ void TestQtJson::testDebugStream() qDebug() << value; value = QJsonValue((double)4.2); // double - QTest::ignoreMessage(QtDebugMsg, "QJsonValue(number, 4.2) "); + QTest::ignoreMessage(QtDebugMsg, "QJsonValue(double, 4.2) "); qDebug() << value; value = QJsonValue((int)42); // int - QTest::ignoreMessage(QtDebugMsg, "QJsonValue(number, 42) "); + QTest::ignoreMessage(QtDebugMsg, "QJsonValue(double, 42) "); qDebug() << value; value = QJsonValue(QLatin1String("foo")); // string |