1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Fixed broken test, added log mock

This commit is contained in:
James Booth 2014-04-13 22:31:55 +01:00
parent 67a109927c
commit 74c746f852

View File

@ -39,6 +39,10 @@ void log_warning(const char * const msg, ...) {}
void log_error(const char * const msg, ...) {}
void log_msg(log_level_t level, const char * const area,
const char * const msg) {}
char * get_log_file_location(void)
{
return (char *)mock();
}
log_level_t log_level_from_string(char *log_level)
{