summaryrefslogtreecommitdiff
path: root/source/test/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'source/test/unittests')
-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());