diff options
author | sanine <sanine.not@pm.me> | 2022-04-04 13:40:20 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-04-04 13:40:20 -0500 |
commit | 5e3d8e950d97a222b15d41de1ae17ccf51621471 (patch) | |
tree | cbf807e36097d498d40b7acd196de22834e882b3 /tests/mock_queue.c | |
parent | 29179fc15a1d085299601267fe0bc9c6be5dfa1c (diff) |
refactor: rename lily_mock_queue_t -> lily_queue_t
Diffstat (limited to 'tests/mock_queue.c')
-rw-r--r-- | tests/mock_queue.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/mock_queue.c b/tests/mock_queue.c index 269d462..bc00325 100644 --- a/tests/mock_queue.c +++ b/tests/mock_queue.c @@ -6,7 +6,7 @@ const char* test_mock_enqueue_dequeue_int() { - lily_mock_queue_t *q = lily_queue_create(); + lily_queue_t *q = lily_queue_create(); /* enqueue A259482, for no particular reason */ lily_enqueue(q, int, 2); @@ -39,17 +39,17 @@ const char* test_mock_enqueue_dequeue_int() { const char* test_mock_enqueue_dequeue_heterogenous() { - lily_mock_queue_t *q = lily_queue_create(); + lily_queue_t *q = lily_queue_create(); lily_enqueue(q, int, 2); - lily_enqueue(q, lily_mock_queue_t *, q); + lily_enqueue(q, lily_queue_t *, q); lily_enqueue(q, const char *, "hello, world!"); int n; lily_dequeue(q, int, &n); if (n != 2) return "dequeued incorrect int value"; - lily_mock_queue_t *p; - lily_dequeue(q, lily_mock_queue_t *, &p); + lily_queue_t *p; + lily_dequeue(q, lily_queue_t *, &p); if (p != q) return "dequeued incorrect pointer value"; const char *str; lily_dequeue(q, const char *, &str); |