diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-05-09 22:25:30 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-05-09 22:25:30 -0300 |
commit | 15d3beecdd227c08df600336dff9ecd2d5979136 (patch) | |
tree | 14601d06e48a8dc20cc60a19f6d978ee4ac13dd5 /tests/check_loader.c | |
parent | 0cb80d3050de4adb65b6c4acb4c9ac765b2ae448 (diff) | |
download | blogc-15d3beecdd227c08df600336dff9ecd2d5979136.tar.gz blogc-15d3beecdd227c08df600336dff9ecd2d5979136.tar.bz2 blogc-15d3beecdd227c08df600336dff9ecd2d5979136.zip |
fixing gcc stupidity
Diffstat (limited to 'tests/check_loader.c')
-rw-r--r-- | tests/check_loader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check_loader.c b/tests/check_loader.c index d478871..64d8ec8 100644 --- a/tests/check_loader.c +++ b/tests/check_loader.c @@ -67,7 +67,7 @@ __wrap_blogc_file_get_contents(const char *path, size_t *len, blogc_error_t **er int -__wrap_fprintf(FILE *stream, const char *format, ...) +__wrap_blogc_fprintf(FILE *stream, const char *format, ...) { assert_true(stream == mock_type(FILE*)); assert_string_equal(format, mock_type(const char*)); @@ -179,8 +179,8 @@ test_source_parse_from_files(void **state) static void test_source_parse_from_files_without_all_dates(void **state) { - will_return(__wrap_fprintf, stderr); - will_return(__wrap_fprintf, + will_return(__wrap_blogc_fprintf, stderr); + will_return(__wrap_blogc_fprintf, "blogc: warning: 'DATE' variable provided for at least one source " "file, but not for all source files. This means that you may get wrong " "values for 'DATE_FIRST' and 'DATE_LAST' variables.\n"); |