summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-30 03:30:31 +0000
committerDavid Robillard <d@drobilla.net>2011-01-30 03:30:31 +0000
commit110e2b17943eadd4175cc9bf0cbb96e36789e5e5 (patch)
treec10c19ad7f75f346411aa255f2783676e0c8f307 /test
parent91e12aba325c5a04bfc653ab4b7579753011e8a5 (diff)
downloadlilv-110e2b17943eadd4175cc9bf0cbb96e36789e5e5.tar.gz
lilv-110e2b17943eadd4175cc9bf0cbb96e36789e5e5.tar.bz2
lilv-110e2b17943eadd4175cc9bf0cbb96e36789e5e5.zip
Fix erroneous test case (first port does have one property in this case: lv2:integer).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2865 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r--test/slv2_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/slv2_test.c b/test/slv2_test.c
index 1595c9e..3d30327 100644
--- a/test/slv2_test.c
+++ b/test/slv2_test.c
@@ -778,7 +778,7 @@ test_port()
TEST_ASSERT(slv2_port_is_a(plug, p, in_class));
TEST_ASSERT(!slv2_port_is_a(plug, p, audio_class));
- TEST_ASSERT(slv2_values_size(slv2_port_get_properties(plug, p)) == 0);
+ TEST_ASSERT(slv2_values_size(slv2_port_get_properties(plug, p)) == 1);
TEST_ASSERT(!strcmp(slv2_value_as_string(slv2_port_get_symbol(plug, p)), "foo"));
SLV2Value name = slv2_port_get_name(plug, p);