summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbuffer
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-05-17 23:05:24 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-05-17 23:05:24 (GMT)
commit08a5b8d504e86a80488a2a13525e700b6f8b3311 (patch)
tree3e6b31daecfe217b355fa973f2f122da8468c0ac /tests/auto/qbuffer
parent3773fcb78db02a2577c89f755c07c2c7dbf0de74 (diff)
parentcb2980a09aefcc207eacb500d5a3c74f064859dd (diff)
downloadQt-08a5b8d504e86a80488a2a13525e700b6f8b3311.zip
Qt-08a5b8d504e86a80488a2a13525e700b6f8b3311.tar.gz
Qt-08a5b8d504e86a80488a2a13525e700b6f8b3311.tar.bz2
Merge remote branch 'origin/4.8' into 4.8-from-4.7
Diffstat (limited to 'tests/auto/qbuffer')
-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 3e3cc73..5d6b84f 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);