summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2016-02-17 11:39:19 +0100
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2016-02-17 19:10:33 +0000
commit0420e57c90ccdb94b89761da47140f284eb89d37 (patch)
tree064747c854e178adb0229c4308f0861318fe3ac8 /tests
parentc70a80597a06edc0c4121fbbfa18dd69ef1540ba (diff)
qDebug: Add exception byte when streaming exception response.
Change-Id: I43c8e966d8f1f201c53d9672868a7baedbc6704c Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qmodbuspdu/tst_qmodbuspdu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qmodbuspdu/tst_qmodbuspdu.cpp b/tests/auto/qmodbuspdu/tst_qmodbuspdu.cpp
index 75bc310..1713d0d 100644
--- a/tests/auto/qmodbuspdu/tst_qmodbuspdu.cpp
+++ b/tests/auto/qmodbuspdu/tst_qmodbuspdu.cpp
@@ -316,7 +316,7 @@ private slots:
d << QModbusExceptionResponse(QModbusExceptionResponse::ReadCoils,
QModbusExceptionResponse::IllegalDataAddress);
}
- QCOMPARE(s_msg, QString::fromLatin1("0x0102"));
+ QCOMPARE(s_msg, QString::fromLatin1("0x8102"));
}
void testMinimumDataSize()