diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2022-09-26 22:10:26 +0400 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2022-09-26 22:10:26 +0400 |
commit | fda748ade9285c61cc681f700d0536ca0cf8b0d5 (patch) | |
tree | 2bde3841edc33405a9fcec71392df661669b5346 | |
parent | bab5ae9fabfe7187b46dd56cf7b8fad018053b03 (diff) | |
download | kit-fda748ade9285c61cc681f700d0536ca0cf8b0d5.zip |
[win32] Fix path join tests
-rw-r--r-- | source/test/unittests/file.test.c | 8 |
1 files changed, 4 insertions, 4 deletions
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()); |