From: Uwe Hermann Date: Sun, 25 Oct 2015 22:05:49 +0000 (+0100) Subject: tests: Drop another obsolete sr_analog_float_to_string() test. X-Git-Tag: libsigrok-0.4.0~183 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=211cc97471b2b837dbd4a78e796d61cea58a1b04;p=libsigrok.git tests: Drop another obsolete sr_analog_float_to_string() test. --- 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);