diff options
Diffstat (limited to 'src/channel.test.c')
-rw-r--r-- | src/channel.test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/channel.test.c b/src/channel.test.c index 789756d..c0a7e73 100644 --- a/src/channel.test.c +++ b/src/channel.test.c @@ -18,7 +18,7 @@ lily_mock_t *mock_p_mutex_new = NULL; PMutex * mock_p_mutex_new_() { mock_p_mutex_new->n_calls += 1; - return p_mutex_new(); + return NULL; } @@ -481,4 +481,6 @@ void suite_channel() lily_run_test(test_channel_get_next_sample_panned); lily_mock_destroy(mock_p_mutex_new); + lily_mock_destroy(mock_p_mutex_trylock); + lily_mock_destroy(mock_p_mutex_unlock); } |