aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check_loader.c')
-rw-r--r--tests/check_loader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check_loader.c b/tests/check_loader.c
index 865d598..f5be3e7 100644
--- a/tests/check_loader.c
+++ b/tests/check_loader.c
@@ -113,9 +113,10 @@ test_source_parse_from_file(void **state)
b_trie_t *t = blogc_source_parse_from_file("bola.txt", &err);
assert_null(err);
assert_non_null(t);
- assert_int_equal(b_trie_size(t), 4);
+ assert_int_equal(b_trie_size(t), 5);
assert_string_equal(b_trie_lookup(t, "ASD"), "123");
assert_string_equal(b_trie_lookup(t, "FILENAME"), "bola");
+ assert_string_equal(b_trie_lookup(t, "EXCERPT"), "<p>bola</p>\n");
assert_string_equal(b_trie_lookup(t, "CONTENT"), "<p>bola</p>\n");
assert_string_equal(b_trie_lookup(t, "RAW_CONTENT"), "bola");
b_trie_free(t);