[ITC][base-utils][Non-ACR][Fixed failed TC condition]
authorPriya Kohli <priya.kohli@samsung.com>
Tue, 26 Jun 2018 12:42:30 +0000 (18:12 +0530)
committerPriya Kohli <priya.kohli@samsung.com>
Tue, 26 Jun 2018 12:45:54 +0000 (18:15 +0530)
Change-Id: I317a5c6fdcac625674069872309179d6e8d6343c
Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
src/itc/base-utils/ITs-base-utils-uchar.c

index e263a23..98bba55 100755 (executable)
@@ -1005,7 +1005,7 @@ int ITc_i18n_uchar_get_int_property_max_value_p(void)
        nRetVal = i18n_uchar_get_int_property_max_value(eUCharPropertyWithMaxValue, &nIntPropertyMaxValue);
        PRINT_RESULT(I18N_ERROR_NONE, nRetVal, "i18n_uchar_get_int_property_max_value", BaseUtilsGetError(nRetVal));
 
-       if(nIntPropertyMaxValue > nPropertyValue)
+       if(nIntPropertyMaxValue < nPropertyValue)
        {
                FPRINTF("[Line : %d][%s] Error: i18n_uchar_get_int_property_max_value() returned a wrong value: %d for enum I18N_UCHAR_SCRIPT\\n", __LINE__, API_NAMESPACE, nIntPropertyMaxValue);
                return 1;