From 42d24f859587eb1fc157c1bb197af1494673eea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Sat, 23 May 2020 19:13:39 +0200 Subject: [PATCH] starting fixing a test --- tests/tsource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tsource.c b/tests/tsource.c index 305be80..8e7c7b2 100644 --- a/tests/tsource.c +++ b/tests/tsource.c @@ -15,7 +15,7 @@ Test(get_special_arg_at, at_arg) { - char **argv = split_str(strdup("source file a b c"), ' '); + char **argv = split_str(strdup("source file a b c"), (char *[]) {" "}); int argv_len = 5; char *res = NULL; @@ -26,7 +26,7 @@ Test(get_special_arg_at, at_arg) Test(get_special_arg_star, at_arg) { - char **argv = split_str(strdup("source file a b c"), ' '); + char **argv = split_str(strdup("source file a b c"), (char *[]) {" "}); int argv_len = 5; char *res = NULL;