summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp b/tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp
index ded188d72..adcd9cc38 100644
--- a/tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp
+++ b/tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp
@@ -1246,7 +1246,9 @@ void tst_QDeclarativeAudio::videoOutput()
QVariant surfaces;
surfaces.setValue(jsArray);
audio.setVideoOutput(surfaces);
- QCOMPARE(audio.videoOutput(), surfaces);
+
+ auto arr = audio.videoOutput().value<QJSValue>();
+ QVERIFY(arr.equals(jsArray));
QCOMPARE(spy.count(), 2);
}