1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

Add another code branch to the metadata/format_str test case

This commit is contained in:
Moritz Grimm 2015-05-22 08:09:43 +02:00
parent a83e6cc577
commit 9c56f4a8db

View File

@ -411,6 +411,8 @@ START_TEST(test_metadata_format_str)
TEST_XSTRDUP(cfg_set_metadata_format_str, TEST_XSTRDUP(cfg_set_metadata_format_str,
cfg_get_metadata_format_str); cfg_get_metadata_format_str);
ck_assert_int_eq(cfg_set_metadata_format_str("test", NULL), 0);
errstr2 = NULL; errstr2 = NULL;
ck_assert_int_eq(cfg_set_metadata_format_str(PLACEHOLDER_METADATA, ck_assert_int_eq(cfg_set_metadata_format_str(PLACEHOLDER_METADATA,
&errstr2), -1); &errstr2), -1);