aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_loader.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-12-29 22:32:38 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-12-29 22:32:38 +0100
commit1b851a5778196a34affe397e4c502b326afd3270 (patch)
treebe694149670179d84ef77b36ef21a56d9c7048a7 /tests/check_loader.c
parent3d24a8847e156804e19515ddeefd3912402515be (diff)
downloadblogc-1b851a5778196a34affe397e4c502b326afd3270.tar.gz
blogc-1b851a5778196a34affe397e4c502b326afd3270.tar.bz2
blogc-1b851a5778196a34affe397e4c502b326afd3270.zip
loader: parse tags as space-separated string
Diffstat (limited to 'tests/check_loader.c')
-rw-r--r--tests/check_loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check_loader.c b/tests/check_loader.c
index f5be3e7..03f0ef1 100644
--- a/tests/check_loader.c
+++ b/tests/check_loader.c
@@ -478,7 +478,7 @@ test_source_parse_from_files_filter_by_page_and_tag(void **state)
will_return(__wrap_blogc_file_get_contents, b_strdup(
"ASD: 789\n"
"DATE: 2003-02-03 04:05:06\n"
- "TAGS: chunda, bola\n"
+ "TAGS: chunda bola\n"
"--------\n"
"bola"));
will_return(__wrap_blogc_file_get_contents, "bola4.txt");
@@ -505,7 +505,7 @@ test_source_parse_from_files_filter_by_page_and_tag(void **state)
will_return(__wrap_blogc_file_get_contents, b_strdup(
"ASD: 7894\n"
"DATE: 2007-02-03 04:05:06\n"
- "TAGS: yay, chunda\n"
+ "TAGS: yay chunda\n"
"--------\n"
"bola"));
blogc_error_t *err = NULL;