diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2020-12-23 17:10:48 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2020-12-23 17:10:48 +0300 |
commit | 8f7f3f1ecb8bbcef44b3c51cd5de1b52087c45e7 (patch) | |
tree | 84851ca175da85d66216da7e250a1206585bdcb0 /tests | |
parent | 3ce9ca60f51f98ecf156830679a7dcb55fd31bd4 (diff) |
.......PS. [ZBXNEXT-5518] minor style fixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libs/zbxcommon/zbx_json_to_xml.c | 8 | ||||
-rw-r--r-- | tests/libs/zbxcommon/zbx_xml_to_json.c | 7 |
2 files changed, 5 insertions, 10 deletions
diff --git a/tests/libs/zbxcommon/zbx_json_to_xml.c b/tests/libs/zbxcommon/zbx_json_to_xml.c index d9f063454e8..6738346a41d 100644 --- a/tests/libs/zbxcommon/zbx_json_to_xml.c +++ b/tests/libs/zbxcommon/zbx_json_to_xml.c @@ -20,14 +20,12 @@ #include "zbxmocktest.h" #include "zbxmockutil.h" -#include "common.h" - -#define ZBX_XML_HEADER_SIZE 22 +#define ZBX_XML_HEADER_SIZE 22 void zbx_mock_test_entry(void **state) { - char *json, *expected_xml, *xml_content, *xml = NULL, *error = NULL; - int actual_result, expected_result; + char *json, *expected_xml, *xml_content, *xml = NULL, *error = NULL; + int actual_result, expected_result; ZBX_UNUSED(state); diff --git a/tests/libs/zbxcommon/zbx_xml_to_json.c b/tests/libs/zbxcommon/zbx_xml_to_json.c index 43bcf231d1f..05fa14ad655 100644 --- a/tests/libs/zbxcommon/zbx_xml_to_json.c +++ b/tests/libs/zbxcommon/zbx_xml_to_json.c @@ -20,13 +20,10 @@ #include "zbxmocktest.h" #include "zbxmockutil.h" -#include "common.h" - - void zbx_mock_test_entry(void **state) { - char *xml, *expected_json, *json = NULL, *error = NULL; - int actual_result, expected_result; + char *xml, *expected_json, *json = NULL, *error = NULL; + int actual_result, expected_result; ZBX_UNUSED(state); |