summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-29 03:39:04 +0000
committerDavid Robillard <d@drobilla.net>2011-04-29 03:39:04 +0000
commit96e8b19074fd34896b3f6441bab391cdd5d3f1f3 (patch)
treec01f5c92e09e5187294b1ca9e988dd8ab492f635 /test
parent9567f51e793edd61883befd2b0ae390e130c2120 (diff)
downloadlilv-96e8b19074fd34896b3f6441bab391cdd5d3f1f3.tar.gz
lilv-96e8b19074fd34896b3f6441bab391cdd5d3f1f3.tar.bz2
lilv-96e8b19074fd34896b3f6441bab391cdd5d3f1f3.zip
Fix unit test.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3231 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r--test/lilv_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index 9a42631..300184c 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -738,7 +738,7 @@ test_port()
LilvIter* sp_iter = lilv_scale_points_begin(points);
const LilvScalePoint* sp0 = lilv_scale_points_get(points, sp_iter);
TEST_ASSERT(sp0);
- lilv_scale_points_next(points, sp_iter);
+ sp_iter = lilv_scale_points_next(points, sp_iter);
const LilvScalePoint* sp1 = lilv_scale_points_get(points, sp_iter);
TEST_ASSERT(sp1);