summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbytearray/tst_qbytearray.cpp
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-06-30 21:44:57 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2011-06-30 21:44:57 (GMT)
commit0a9652c93170ab9520869e9e231eba1834b47abc (patch)
treeafcf901cae65424a06d21c389e4bde7046b9a693 /tests/auto/qbytearray/tst_qbytearray.cpp
parentd795e50a2bf89209b124ec29fe7dd883208224ea (diff)
downloadQt-0a9652c93170ab9520869e9e231eba1834b47abc.zip
Qt-0a9652c93170ab9520869e9e231eba1834b47abc.tar.gz
Qt-0a9652c93170ab9520869e9e231eba1834b47abc.tar.bz2
Doc: Fixing typo
Diffstat (limited to 'tests/auto/qbytearray/tst_qbytearray.cpp')
-rw-r--r--tests/auto/qbytearray/tst_qbytearray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qbytearray/tst_qbytearray.cpp b/tests/auto/qbytearray/tst_qbytearray.cpp
index 9889aae..5488559 100644
--- a/tests/auto/qbytearray/tst_qbytearray.cpp
+++ b/tests/auto/qbytearray/tst_qbytearray.cpp
@@ -644,7 +644,7 @@ void tst_QByteArray::qstrncpy()
QCOMPARE(QByteArray(::qstrncpy(dst.data(), src.data(), src.size())),
QByteArray("Tumdelidu"));
- // normal copy with length is longer than neccessary
+ // normal copy with length is longer than necessary
src = QByteArray( "Tumdelidum\0foo" );
dst.resize(128*1024);
QCOMPARE(QByteArray(::qstrncpy(dst.data(), src.data(), dst.size())),