X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=tests%2Fanalog.c;h=13eb107cd1b0ce5daf1c8fb6f198f023c72d2b70;hb=refs%2Fheads%2Flibsigrok-0.4.x;hp=d193bcbe72fa9c5ecff3575466e9d2007ac43d6e;hpb=222fdfd526fde6d8450067675679eca6cc5d211b;p=libsigrok.git diff --git a/tests/analog.c b/tests/analog.c index d193bcbe..13eb107c 100644 --- a/tests/analog.c +++ b/tests/analog.c @@ -124,15 +124,6 @@ START_TEST(test_analog_to_float_null) } END_TEST -START_TEST(test_analog_float_to_string_null) -{ - int ret; - - ret = sr_analog_float_to_string(0, 0, NULL); - fail_unless(ret == SR_ERR_ARG); -} -END_TEST - START_TEST(test_analog_unit_to_string) { int ret; @@ -215,7 +206,6 @@ Suite *suite_analog(void) tc = tcase_create("analog_to_float"); tcase_add_test(tc, test_analog_to_float); tcase_add_test(tc, test_analog_to_float_null); - tcase_add_test(tc, test_analog_float_to_string_null); tcase_add_test(tc, test_analog_unit_to_string); tcase_add_test(tc, test_analog_unit_to_string_null); tcase_add_test(tc, test_set_rational);