summaryrefslogtreecommitdiff
path: root/source/test/unittests/input_buffer.test.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/test/unittests/input_buffer.test.c')
-rw-r--r--source/test/unittests/input_buffer.test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/test/unittests/input_buffer.test.c b/source/test/unittests/input_buffer.test.c
index c7edb8f..23499ee 100644
--- a/source/test/unittests/input_buffer.test.c
+++ b/source/test/unittests/input_buffer.test.c
@@ -4,11 +4,11 @@
#include "../../kit_test/test.h"
TEST("input buffer") {
- cstr text = { .size = 3, .values = "foo" };
- struct is_handle in = IS_WRAP_STRING(text);
- struct ib_handle first = IB_WRAP(in);
+ cstr_t text = { .size = 3, .values = "foo" };
+ is_handle_t in = IS_WRAP_STRING(text);
+ ib_handle_t first = IB_WRAP(in);
- struct ib_handle second = ib_read(first, 3);
+ ib_handle_t second = ib_read(first, 3);
REQUIRE(!second.error);
REQUIRE(second.data.size == 3);