summaryrefslogtreecommitdiff
path: root/source/test
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2022-09-26 22:10:26 +0400
committerMitya Selivanov <automainint@guattari.tech>2022-09-26 22:10:26 +0400
commitfda748ade9285c61cc681f700d0536ca0cf8b0d5 (patch)
tree2bde3841edc33405a9fcec71392df661669b5346 /source/test
parentbab5ae9fabfe7187b46dd56cf7b8fad018053b03 (diff)
downloadkit-fda748ade9285c61cc681f700d0536ca0cf8b0d5.zip
[win32] Fix path join tests
Diffstat (limited to 'source/test')
-rw-r--r--source/test/unittests/file.test.c8
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());