summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-05-07 13:22:56 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-05-07 15:28:35 +0000
commit5c973a4b3fa667c6253e530e19728a0c72726952 (patch)
tree454dc3296423ff3c728eacb615af99b3462e4ea8
parent9c3c2efd3b9b381b4cddf2cf96a3ce3bd2563f1d (diff)
downloadqtwebchannel-5c973a4b3fa667c6253e530e19728a0c72726952.tar.gz
Make test resistant to type simplification
Change-Id: I594db4d2d1625545ac523380c3870254a2800d1a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r--tests/auto/qml/tst_webchannel.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/tst_webchannel.qml b/tests/auto/qml/tst_webchannel.qml
index 671c314..0255d43 100644
--- a/tests/auto/qml/tst_webchannel.qml
+++ b/tests/auto/qml/tst_webchannel.qml
@@ -626,7 +626,7 @@ TestCase {
}
var channel = client.createChannel(function(channel) {
var testObject = channel.objects.testObject;
- testObject.testVariantType(0, logReturnValue);
+ testObject.testVariantType(0.25, logReturnValue);
testObject.testVariantType("0", logReturnValue);
testObject.testVariantType(null, logReturnValue);
testObject.testVariantType(testObject, logReturnValue);