summaryrefslogtreecommitdiff
path: root/source/test/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'source/test/unittests')
-rw-r--r--source/test/unittests/input_buffer.test.c2
1 files changed, 1 insertions, 1 deletions
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));