aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc-make
diff options
context:
space:
mode:
Diffstat (limited to 'tests/blogc-make')
-rw-r--r--tests/blogc-make/check_settings.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/blogc-make/check_settings.c b/tests/blogc-make/check_settings.c
index 0078073..3b19f2f 100644
--- a/tests/blogc-make/check_settings.c
+++ b/tests/blogc-make/check_settings.c
@@ -106,7 +106,7 @@ test_settings2(void **state)
assert_string_equal(bc_trie_lookup(s->env, "SITE_TITLE"), "Fuuuuuuuuu");
assert_string_equal(bc_trie_lookup(s->env, "SITE_TAGLINE"), "My cool tagline");
assert_string_equal(bc_trie_lookup(s->env, "BASE_DOMAIN"), "http://example.com");
- assert_int_equal(bc_trie_size(s->settings), 14);
+ assert_int_equal(bc_trie_size(s->settings), 17);
assert_string_equal(bc_trie_lookup(s->settings, "source_ext"), ".txt");
assert_string_equal(bc_trie_lookup(s->settings, "html_ext"), "/index.html");
assert_string_equal(bc_trie_lookup(s->settings, "output_dir"), "bola");
@@ -122,6 +122,9 @@ test_settings2(void **state)
assert_string_equal(bc_trie_lookup(s->settings, "pagination_prefix"), "page");
assert_string_equal(bc_trie_lookup(s->settings, "post_prefix"), "post");
assert_string_equal(bc_trie_lookup(s->settings, "tag_prefix"), "tag");
+ assert_string_equal(bc_trie_lookup(s->settings, "runserver_host"), "127.0.0.1");
+ assert_string_equal(bc_trie_lookup(s->settings, "runserver_port"), "8080");
+ assert_string_equal(bc_trie_lookup(s->settings, "runserver_threads"), "20");
assert_non_null(s->posts);
assert_string_equal(s->posts[0], "aaaa");
assert_string_equal(s->posts[1], "bbbb");