summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbuffer/tst_qbuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qbuffer/tst_qbuffer.cpp')
-rw-r--r--tests/auto/qbuffer/tst_qbuffer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qbuffer/tst_qbuffer.cpp b/tests/auto/qbuffer/tst_qbuffer.cpp
index 3e3cc739bf..5d6b84f827 100644
--- a/tests/auto/qbuffer/tst_qbuffer.cpp
+++ b/tests/auto/qbuffer/tst_qbuffer.cpp
@@ -309,8 +309,7 @@ void tst_QBuffer::seekTest()
// (see Task 184730)
{
char c;
- const int offset = 1;
- Q_ASSERT(offset > 0); // any positive integer will do
+ const int offset = 1; // any positive integer will do
const qint64 pos = buf.size() + offset;
QVERIFY(buf.seek(pos));
QCOMPARE(buf.pos(), pos);