aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/source-parser.c2
-rw-r--r--tests/check_source_parser.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/source-parser.c b/src/source-parser.c
index f9a60ae..aee5c23 100644
--- a/src/source-parser.c
+++ b/src/source-parser.c
@@ -174,7 +174,7 @@ blogc_source_parse(const char *src, size_t src_len, blogc_error_t **err)
switch (state) {
case SOURCE_START:
*err = blogc_error_parser(BLOGC_ERROR_SOURCE_PARSER, src, src_len,
- current, "Your config file is empty.");
+ current, "Your source file is empty.");
break;
case SOURCE_CONFIG_KEY:
*err = blogc_error_parser(BLOGC_ERROR_SOURCE_PARSER, src, src_len,
diff --git a/tests/check_source_parser.c b/tests/check_source_parser.c
index 0299c16..94f75c9 100644
--- a/tests/check_source_parser.c
+++ b/tests/check_source_parser.c
@@ -136,7 +136,7 @@ test_source_parse_config_empty(void **state)
assert_null(source);
assert_non_null(err);
assert_int_equal(err->type, BLOGC_ERROR_SOURCE_PARSER);
- assert_string_equal(err->msg, "Your config file is empty.");
+ assert_string_equal(err->msg, "Your source file is empty.");
blogc_error_free(err);
b_trie_free(source);
}