diff options
Diffstat (limited to 'tests/auto/qmodbusreply/tst_qmodbusreply.cpp')
-rw-r--r-- | tests/auto/qmodbusreply/tst_qmodbusreply.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qmodbusreply/tst_qmodbusreply.cpp b/tests/auto/qmodbusreply/tst_qmodbusreply.cpp index 810fbee..3ac0395 100644 --- a/tests/auto/qmodbusreply/tst_qmodbusreply.cpp +++ b/tests/auto/qmodbusreply/tst_qmodbusreply.cpp @@ -213,7 +213,7 @@ void tst_QModbusReply::tst_setResult() replyRawTest.setRawResult(response); QCOMPARE(finishedSpy.count(), 0); QCOMPARE(errorSpyRaw.count(), 0); - QCOMPARE(replyRawTest.result().isValid(), false); + QCOMPARE(replyRawTest.result().isValid(), true); QCOMPARE(replyRawTest.rawResult().isValid(), true); tmp = replyRawTest.rawResult(); |