diff options
Diffstat (limited to 'source/test/unittests/input_stream.test.c')
-rw-r--r-- | source/test/unittests/input_stream.test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/test/unittests/input_stream.test.c b/source/test/unittests/input_stream.test.c index 9fef47a..e646983 100644 --- a/source/test/unittests/input_stream.test.c +++ b/source/test/unittests/input_stream.test.c @@ -7,13 +7,13 @@ TEST("input stream wrap string") { char foo[] = "test"; char bar[] = "test"; - cstr foo_ref = { .size = sizeof(foo) - 1, .values = foo }; - cstr bar_ref = { .size = sizeof(bar) - 1, .values = bar }; + cstr_t foo_ref = { .size = sizeof(foo) - 1, .values = foo }; + cstr_t bar_ref = { .size = sizeof(bar) - 1, .values = bar }; - struct is_handle in = IS_WRAP_STRING(foo_ref); + is_handle_t in = IS_WRAP_STRING(foo_ref); - char buf[4]; - out_str buf_ref = { .size = sizeof(buf), .values = buf }; + char buf[4]; + out_str_t buf_ref = { .size = sizeof(buf), .values = buf }; REQUIRE(IS_READ(in, buf_ref) == buf_ref.size); REQUIRE(AR_EQUAL(foo_ref, bar_ref)); |