Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndris Zeila <andris.zeila@zabbix.com>2018-10-29 16:46:25 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2018-10-29 16:46:25 +0300
commit7fa35015ee9512d699ab1524f894dad8be3618f0 (patch)
tree869b524053b5609325aa0852c661a87959cc0ec1 /tests/zabbix_server/preprocessor
parent31250ce957bee01678eec0fc5afd138ea11bd6fb (diff)
........S. [ZBXNEXT-4724] added removal of trailing zeroes when converting floating variant value to string
Diffstat (limited to 'tests/zabbix_server/preprocessor')
-rw-r--r--tests/zabbix_server/preprocessor/zbx_item_preproc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/zabbix_server/preprocessor/zbx_item_preproc.c b/tests/zabbix_server/preprocessor/zbx_item_preproc.c
index 1c9db5a4057..527406eba17 100644
--- a/tests/zabbix_server/preprocessor/zbx_item_preproc.c
+++ b/tests/zabbix_server/preprocessor/zbx_item_preproc.c
@@ -161,7 +161,6 @@ void zbx_mock_test_entry(void **state)
fail_msg("preprocessing result was empty value");
zbx_variant_convert(&value, ZBX_VARIANT_STR);
- del_zeros(value.data.str);
zbx_mock_assert_str_eq("processed value", zbx_mock_get_parameter_string("out.value"),
value.data.str);
}
@@ -177,7 +176,6 @@ void zbx_mock_test_entry(void **state)
fail_msg("preprocessing history was empty value");
zbx_variant_convert(&history_value, ZBX_VARIANT_STR);
- del_zeros(history_value.data.str);
zbx_mock_assert_str_eq("preprocessing step history value",
zbx_mock_get_parameter_string("out.history.data"), history_value.data.str);