X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest_psensor_type_to_unit_str.c;h=3ce27f8bb4a244396910ed5ce82972792512ffc3;hb=270064a76eaf2cc21f8cf9f29d8148a64b1f8964;hp=981e90d91b459ca606ea54d3bd0a8c1c46e1ecfd;hpb=95be328caee00af937a3e32cbf8aa753153980d5;p=psensor.git 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;