summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp')
-rw-r--r--tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp b/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp
index 037893a13e..267aa71085 100644
--- a/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp
+++ b/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp
@@ -1286,7 +1286,7 @@ void tst_QByteArray::appendAfterFromRawData()
arr += QByteArray::fromRawData(data, sizeof(data));
data[0] = 'Y';
}
- QVERIFY(arr.at(0) == 'X');
+ QCOMPARE(arr.at(0), 'X');
}
void tst_QByteArray::toFromHex_data()