mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fixed broken test, added log mock
This commit is contained in:
parent
67a109927c
commit
74c746f852
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user