]> sigrok.org Git - libsigrok.git/commitdiff
tests: Drop another obsolete sr_analog_float_to_string() test.
authorUwe Hermann <redacted>
Sun, 25 Oct 2015 22:05:49 +0000 (23:05 +0100)
committerUwe Hermann <redacted>
Sun, 25 Oct 2015 22:05:49 +0000 (23:05 +0100)
tests/analog.c

index d193bcbe72fa9c5ecff3575466e9d2007ac43d6e..13eb107cd1b0ce5daf1c8fb6f198f023c72d2b70 100644 (file)
@@ -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);