From d9e0da408325e36852ca80643cb25fa9b3717889 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Sun, 7 Aug 2022 06:58:00 +0400 Subject: Refactor --- source/test/unittests/input_stream.test.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/test/unittests/input_stream.test.c') 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)); -- cgit v1.2.3