X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor-pkg-ubuntu.git;a=blobdiff_plain;f=tests%2Ftest_psensor_type_to_unit_str.c;fp=tests%2Ftest_psensor_type_to_unit_str.c;h=3ce27f8bb4a244396910ed5ce82972792512ffc3;hp=981e90d91b459ca606ea54d3bd0a8c1c46e1ecfd;hb=9aa9c8d3823d79755ddd1aa49b9af6198e24d4e2;hpb=75fa49ffb0c9c8b60328c13ec8613299d094a2e5 diff --git a/tests/test_psensor_type_to_unit_str.c b/tests/test_psensor_type_to_unit_str.c index 981e90d..3ce27f8 100644 --- a/tests/test_psensor_type_to_unit_str.c +++ b/tests/test_psensor_type_to_unit_str.c @@ -59,7 +59,7 @@ static int test() { if (!test_fct(SENSOR_TYPE_LMSENSOR | SENSOR_TYPE_TEMP, 0, "\302\260F")) failures++; - if (!test_fct(SENSOR_TYPE_FAN, 0, _("RPM"))) + if (!test_fct(SENSOR_TYPE_RPM, 0, _("RPM"))) failures++; return failures;