summaryrefslogtreecommitdiffstats
path: root/kio/tests/jobtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/tests/jobtest.cpp')
-rw-r--r--kio/tests/jobtest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kio/tests/jobtest.cpp b/kio/tests/jobtest.cpp
index fb2b001db..a50cf83f9 100644
--- a/kio/tests/jobtest.cpp
+++ b/kio/tests/jobtest.cpp
@@ -200,7 +200,7 @@ void JobTest::get()
kapp->eventLoop()->enterLoop();
assert( m_result == 0 ); // no error
assert( m_data.size() == 11 );
- assert( TQCString( m_data ) == "Hello world" );
+ assert( memcmp (m_data, "Hello world", m_data.size()) == 0 ); // m_data is not null-terminated
}
void JobTest::slotGetResult( KIO::Job* job )