summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/corelib/json/tst_qtjson.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/auto/corelib/json/tst_qtjson.cpp b/tests/auto/corelib/json/tst_qtjson.cpp
index 6736a33405..589978e1a4 100644
--- a/tests/auto/corelib/json/tst_qtjson.cpp
+++ b/tests/auto/corelib/json/tst_qtjson.cpp
@@ -200,20 +200,6 @@ void tst_QtJson::testValueSimple()
QCOMPARE(value.toBool(), false);
QCOMPARE(value.toObject(), QJsonObject());
QCOMPARE(value.toArray(), QJsonArray());
-
- value = true;
- QCOMPARE(value.toDouble(), 0.);
- QCOMPARE(value.toString(), QString());
- QCOMPARE(value.toBool(), true);
- QCOMPARE(value.toObject(), QJsonObject());
- QCOMPARE(value.toArray(), QJsonArray());
-
- value = 999.;
- QCOMPARE(value.toDouble(), 999.);
- QCOMPARE(value.toString(), QString());
- QCOMPARE(value.toBool(), false);
- QCOMPARE(value.toObject(), QJsonObject());
- QCOMPARE(value.toArray(), QJsonArray());
}
void tst_QtJson::testNumbers()