summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_code_test_basic.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-06 23:43:06 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-07 02:32:15 +0900
commit9c8749b99a03d3601321da6d16071dd7b631d1ae (patch)
tree1baee8a41dfe32bd6bb2f155564ae04c08fb086b /src/tests/elementary/elm_code_test_basic.c
parent6865ad177368cdc54b587ab0979f39b20ff61552 (diff)
ecore - go back to args 0 being the command and 1+ being actual args
so this is then inconsistent with efl.exe and efl.thread, so go back to being normal with 0'th arg being the binary itself jsut to make sure we have conistent usage.
Diffstat (limited to 'src/tests/elementary/elm_code_test_basic.c')
-rw-r--r--src/tests/elementary/elm_code_test_basic.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/elementary/elm_code_test_basic.c b/src/tests/elementary/elm_code_test_basic.c
index 0016c67..fa0c2d0 100644
--- a/src/tests/elementary/elm_code_test_basic.c
+++ b/src/tests/elementary/elm_code_test_basic.c
@@ -13,7 +13,8 @@ START_TEST (elm_code_create_test)
13{ 13{
14 Elm_Code *code; 14 Elm_Code *code;
15 15
16 elm_init(1, NULL); 16 char *args[] = { "exe" };
17 elm_init(1, args);
17 code = elm_code_create(); 18 code = elm_code_create();
18 19
19 ck_assert(!!code); 20 ck_assert(!!code);
@@ -29,7 +30,8 @@ START_TEST (elm_code_open_test)
29 char realpath1[PATH_MAX], realpath2[PATH_MAX]; 30 char realpath1[PATH_MAX], realpath2[PATH_MAX];
30 Elm_Code *code; 31 Elm_Code *code;
31 32
32 elm_init(1, NULL); 33 char *args[] = { "exe" };
34 elm_init(1, args);
33 code = elm_code_create(); 35 code = elm_code_create();
34 elm_code_file_open(code, path); 36 elm_code_file_open(code, path);
35 37