From 1963d9c64dd0a9a14394e30244d64b82501ddc1f Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Fri, 9 Dec 2022 00:56:31 +0100 Subject: Cleanup things --- source/test/unittests/input_buffer.test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/test/unittests') diff --git a/source/test/unittests/input_buffer.test.c b/source/test/unittests/input_buffer.test.c index 175537c..f1b3738 100644 --- a/source/test/unittests/input_buffer.test.c +++ b/source/test/unittests/input_buffer.test.c @@ -10,7 +10,7 @@ TEST("input buffer read once") { ib_handle_t second = ib_read(first, 3); - REQUIRE(!second.error); + REQUIRE(second.status == KIT_OK); REQUIRE(second.data.size == 3); REQUIRE(AR_EQUAL(text, second.data)); -- cgit v1.2.3