diff options
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))); |