summaryrefslogtreecommitdiffstats
path: root/tdeio/tests/jobtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio/tests/jobtest.cpp')
-rw-r--r--tdeio/tests/jobtest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeio/tests/jobtest.cpp b/tdeio/tests/jobtest.cpp
index 076bc250d..7df3ff3f0 100644
--- a/tdeio/tests/jobtest.cpp
+++ b/tdeio/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( TDEIO::Job* job )