From a6f51ee3faf37bfcb759b96ee76c85c490395b48 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Fri, 1 Mar 2024 00:53:19 +0100 Subject: Remove unnecessary macro --- source/tests/input_stream.test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/tests/input_stream.test.c') diff --git a/source/tests/input_stream.test.c b/source/tests/input_stream.test.c index 25ef721..23a9a99 100644 --- a/source/tests/input_stream.test.c +++ b/source/tests/input_stream.test.c @@ -11,7 +11,7 @@ TEST("input stream wrap string") { str_t foo_ref = { .size = sizeof(foo) - 1, .values = foo }; str_t bar_ref = { .size = sizeof(bar) - 1, .values = bar }; - is_handle_t in = IS_WRAP_STRING(foo_ref); + is_handle_t in = is_wrap_string(foo_ref, NULL); char buf[4]; str_t buf_ref = { .size = sizeof(buf), .values = buf }; @@ -33,7 +33,7 @@ TEST("input stream wrap file") { f = fopen("_kit_temp", "rb"); - is_handle_t in = IS_WRAP_FILE(f); + is_handle_t in = is_wrap_file(f, NULL); REQUIRE_EQ(IS_READ(in, SZ(bar)), SZ(bar).size); REQUIRE(AR_EQUAL(SZ(foo), SZ(bar))); -- cgit v1.2.3