summaryrefslogtreecommitdiff
path: root/src/logging/logging.test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging/logging.test.c')
-rw-r--r--src/logging/logging.test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logging/logging.test.c b/src/logging/logging.test.c
index a796903..7e53074 100644
--- a/src/logging/logging.test.c
+++ b/src/logging/logging.test.c
@@ -92,7 +92,7 @@ void level_fatal_log_fatal_succeeds()
USE_MOCK(mock_vfprintf);
honey_set_log_level(HONEY_FATAL);
- honey_fatal("some message");
+ honey_log_fatal("some message");
lily_assert_int_equal(mock_vfprintf_data->n_calls, 1);
FILE *file; const char *fmt; int n_strings;
@@ -114,6 +114,6 @@ void level_neg_log_fatal_fails()
USE_MOCK(mock_vfprintf);
honey_set_log_level(-1);
- honey_fatal("some message");
+ honey_log_fatal("some message");
lily_assert_int_equal(mock_vfprintf_data->n_calls, 0);
}