tests: Test wl_array_release
authorYong Bakos <ybakos@humanoriented.com>
Tue, 27 Sep 2016 18:03:49 +0000 (13:03 -0500)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 18 Oct 2016 09:24:53 +0000 (12:24 +0300)
commitf04f2187810fc8dcda92305df76fb54a255c20f9
tree50e9b443a9f64aebef389a2c63a6ba2a1d28dba8
parente8ad23266f36521215dcd7cfcc524e0ef67d66dd
tests: Test wl_array_release

array-test.c did not cover wl_array_release, so add one test that specifically
tests this method.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
[Pekka: do not overwrite array.data]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
tests/array-test.c