aboutsummaryrefslogtreecommitdiff
path: root/test/wbrk-human-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/wbrk-human-test.c')
-rw-r--r--test/wbrk-human-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wbrk-human-test.c b/test/wbrk-human-test.c
index 4536afa..45dcaef 100644
--- a/test/wbrk-human-test.c
+++ b/test/wbrk-human-test.c
@@ -56,9 +56,9 @@ test(u8view_t sv, int id)
u8view_t *ws = array_new(mem, typeof(*ws), 64);
while (ucscut(&w, &sv, U"|", 1) != MBEND)
- array_push(ws, w);
+ array_push(&ws, w);
if (w.len > 0)
- array_push(ws, w);
+ array_push(&ws, w);
/* Assert the word count is correct */
size_t n;