summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bruning <michael.bruning@qt.io>2016-07-05 12:11:30 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-07-06 09:30:35 +0000
commit4b7b680e3d0edf93fef55b0315ed37c31d501a9a (patch)
tree37af9fa3b8c5401ef5120fda88bbe8f7277401b5
parentfbf2ba348241cca5cb11ad6cec0372d0db7d52b8 (diff)
Fix call to tryCompare in tst_download.qml
tryCompare insists on getting the name of the property to be checked as a string. Change-Id: Ic879281305e3055eb8e0ff2092a74b6dba06f87a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--tests/auto/quick/qmltests/data/tst_download.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qmltests/data/tst_download.qml b/tests/auto/quick/qmltests/data/tst_download.qml
index 7d1e24b4d..e4e93b993 100644
--- a/tests/auto/quick/qmltests/data/tst_download.qml
+++ b/tests/auto/quick/qmltests/data/tst_download.qml
@@ -114,7 +114,7 @@ TestWebEngineView {
compare(downloadState[1], WebEngineDownloadItem.DownloadInProgress)
downloadFinishedSpy.wait()
compare(totalBytes, receivedBytes)
- tryCompare(downloadState, 2, WebEngineDownloadItem.DownloadCompleted)
+ tryCompare(downloadState, "2", WebEngineDownloadItem.DownloadCompleted)
}
function test_downloadCancelled() {