aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc-make
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-12 00:46:51 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-12 00:46:55 +0100
commitc0793f35389c58dc01082bbce01edbd59d77d4f3 (patch)
tree9504f5ca105137586c4d4f71a590701fecab9713 /tests/blogc-make
parent6d02b98e17eb3541e9f16ebcee6cb983212ecfa0 (diff)
downloadblogc-c0793f35389c58dc01082bbce01edbd59d77d4f3.tar.gz
blogc-c0793f35389c58dc01082bbce01edbd59d77d4f3.tar.bz2
blogc-c0793f35389c58dc01082bbce01edbd59d77d4f3.zip
make: rename TAG_CLOUD to MAKE_TAGS
all the template helper variables provided by blogc-make should start with MAKE_
Diffstat (limited to 'tests/blogc-make')
-rw-r--r--tests/blogc-make/check_exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/blogc-make/check_exec.c b/tests/blogc-make/check_exec.c
index 3bf5df4..c3a8193 100644
--- a/tests/blogc-make/check_exec.c
+++ b/tests/blogc-make/check_exec.c
@@ -177,7 +177,7 @@ test_build_blogc_cmd_with_settings_and_tags(void **state)
char *rv = bm_exec_build_blogc_cmd("blogc", settings, variables, local, true,
"main.tmpl", "foo.html", true, true);
assert_string_equal(rv,
- "LC_ALL='en_US.utf8' blogc -D TAG_CLOUD='asd foo bar' -D FOO='BAR' "
+ "LC_ALL='en_US.utf8' blogc -D MAKE_TAGS='asd foo bar' -D FOO='BAR' "
"-D BAR='BAZ' -D LOL='HEHE' -D ASD='QWE' -D MAKE_ENV_DEV=1 "
"-D MAKE_ENV='dev' -l -t 'main.tmpl' -o 'foo.html' -i");
free(rv);
@@ -185,14 +185,14 @@ test_build_blogc_cmd_with_settings_and_tags(void **state)
rv = bm_exec_build_blogc_cmd("blogc", settings, variables, NULL, false, NULL,
NULL, true, false);
assert_string_equal(rv,
- "LC_ALL='en_US.utf8' blogc -D TAG_CLOUD='asd foo bar' -D FOO='BAR' "
+ "LC_ALL='en_US.utf8' blogc -D MAKE_TAGS='asd foo bar' -D FOO='BAR' "
"-D BAR='BAZ' -D LOL='HEHE' -D MAKE_ENV_DEV=1 -D MAKE_ENV='dev'");
free(rv);
rv = bm_exec_build_blogc_cmd("blogc", settings, NULL, NULL, false, NULL, NULL,
true, false);
assert_string_equal(rv,
- "LC_ALL='en_US.utf8' blogc -D TAG_CLOUD='asd foo bar' -D FOO='BAR' "
+ "LC_ALL='en_US.utf8' blogc -D MAKE_TAGS='asd foo bar' -D FOO='BAR' "
"-D BAR='BAZ' -D MAKE_ENV_DEV=1 -D MAKE_ENV='dev'");
free(rv);