diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-03-01 00:53:19 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-03-01 00:53:19 +0100 |
commit | a6f51ee3faf37bfcb759b96ee76c85c490395b48 (patch) | |
tree | f0afc19a437319671678cf9b16a43682bba6b529 /source/tests/input_stream.test.c | |
parent | c6474ea8adbbc21878eebaecbca748fa4f65f8ee (diff) | |
download | kit-a6f51ee3faf37bfcb759b96ee76c85c490395b48.zip |
Remove unnecessary macro
Diffstat (limited to 'source/tests/input_stream.test.c')
-rw-r--r-- | source/tests/input_stream.test.c | 4 |
1 files changed, 2 insertions, 2 deletions
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))); |