From ed74769bfaae171809c0bc1a10a8ba0f6ff8895f Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Wed, 21 Dec 2016 01:09:27 +0300 Subject: tdeio: add tests Signed-off-by: Alexander Golubev --- tdeio/tests/jobtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdeio/tests/jobtest.cpp') 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 ) -- cgit v1.2.1