diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2018-10-29 16:46:25 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2018-10-29 16:46:25 +0300 |
commit | 7fa35015ee9512d699ab1524f894dad8be3618f0 (patch) | |
tree | 869b524053b5609325aa0852c661a87959cc0ec1 /tests/zabbix_server/preprocessor | |
parent | 31250ce957bee01678eec0fc5afd138ea11bd6fb (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.c | 2 |
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); |