summaryrefslogtreecommitdiff
path: root/test/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/hooks.c')
-rw-r--r--test/hooks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hooks.c b/test/hooks.c
index 679cf584d3..e688e610c2 100644
--- a/test/hooks.c
+++ b/test/hooks.c
@@ -61,7 +61,7 @@ static void non_deferred_func(void)
deferred_call_count++;
}
-static int test_init(void)
+static int test_init_hook(void)
{
TEST_ASSERT(init_hook_count == 1);
return EC_SUCCESS;
@@ -133,7 +133,7 @@ void run_test(void)
{
test_reset();
- RUN_TEST(test_init);
+ RUN_TEST(test_init_hook);
RUN_TEST(test_ticks);
RUN_TEST(test_priority);
RUN_TEST(test_deferred);