From fda748ade9285c61cc681f700d0536ca0cf8b0d5 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Mon, 26 Sep 2022 22:10:26 +0400 Subject: [win32] Fix path join tests --- source/test/unittests/file.test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/test/unittests') diff --git a/source/test/unittests/file.test.c b/source/test/unittests/file.test.c index d6b72f6..5b37ab4 100644 --- a/source/test/unittests/file.test.c +++ b/source/test/unittests/file.test.c @@ -69,7 +69,7 @@ TEST("file path normalize windows delim") { TEST("file path join no delim") { SZ(foo, "foo"); SZ(bar, "bar"); - SZ(joined, "foo/bar"); + SZ(joined, "foo" S_DELIM_ "bar"); string_t foobar = path_join(foo, bar, kit_alloc_default()); @@ -81,7 +81,7 @@ TEST("file path join no delim") { TEST("file path join delim left") { SZ(foo, "foo/"); SZ(bar, "bar"); - SZ(joined, "foo/bar"); + SZ(joined, "foo" S_DELIM_ "bar"); string_t foobar = path_join(foo, bar, kit_alloc_default()); @@ -93,7 +93,7 @@ TEST("file path join delim left") { TEST("file path join delim right") { SZ(foo, "foo"); SZ(bar, "/bar"); - SZ(joined, "foo/bar"); + SZ(joined, "foo" S_DELIM_ "bar"); string_t foobar = path_join(foo, bar, kit_alloc_default()); @@ -105,7 +105,7 @@ TEST("file path join delim right") { TEST("file path join delim both") { SZ(foo, "foo/"); SZ(bar, "/bar"); - SZ(joined, "foo/bar"); + SZ(joined, "foo" S_DELIM_ "bar"); string_t foobar = path_join(foo, bar, kit_alloc_default()); -- cgit v1.2.3