From 87939ee49d766abe81d575d7ee155845db68ba4c Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Thu, 10 Oct 2019 13:12:22 +0300
Subject: [PATCH] Fix reader unit tests

---
 components/codecs/test/readwrite_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/codecs/test/readwrite_test.cpp b/components/codecs/test/readwrite_test.cpp
index e506d56d0..7f776fdf7 100644
--- a/components/codecs/test/readwrite_test.cpp
+++ b/components/codecs/test/readwrite_test.cpp
@@ -144,7 +144,7 @@ TEST_CASE( "Write and read - Multiple frames with limit" ) {
 	r.end();
 
 	REQUIRE( n == 2 );
-	REQUIRE( !res );
+	REQUIRE( res );
 }
 
 TEST_CASE( "Write and read - Multiple reads" ) {
@@ -190,7 +190,7 @@ TEST_CASE( "Write and read - Multiple reads" ) {
 	});
 
 	REQUIRE( n == 2 );
-	REQUIRE( !res );
+	REQUIRE( res );
 
 	n = 0;
 	res = r.read(100, [&n](const StreamPacket &rspkt, const Packet &rpkt) {
-- 
GitLab