fixed test.
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 10 Sep 2014 07:55:38 +0000 (09:55 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 10 Sep 2014 07:55:38 +0000 (09:55 +0200)
tests/test_psensor_type_to_unit_str.c

index 981e90d..3ce27f8 100644 (file)
@@ -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;