Commit 4b7b680e authored by Michael Bruning's avatar Michael Bruning Committed by Allan Sandfeld Jensen
Browse files

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: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
Showing with 1 addition and 1 deletion
......@@ -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() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment