summaryrefslogtreecommitdiff
path: root/source/test
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2022-12-09 00:56:31 +0100
committerMitya Selivanov <automainint@guattari.tech>2022-12-09 00:56:31 +0100
commit1963d9c64dd0a9a14394e30244d64b82501ddc1f (patch)
treef8d6b64c7a94361f22adc00e226dd755fad30ff7 /source/test
parent08fbad18d2987d1c719142a3b810dc8c728ca3d8 (diff)
downloadkit-1963d9c64dd0a9a14394e30244d64b82501ddc1f.zip
Cleanup things
Diffstat (limited to 'source/test')
-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));