summaryrefslogtreecommitdiff
path: root/test/test_exporter_json.cpp
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2023-07-19 12:29:04 +0800
committerchenzizhan <[email protected]>2023-07-19 12:29:04 +0800
commitaee9118d2c135cd881ffa333b11c4ef339689674 (patch)
tree2b2c2ab405ec8b6856baeaada986f910ca5df12b /test/test_exporter_json.cpp
parent74dfa49e409e6902f863a5c508e96d48fb9f6c2f (diff)
retrieved but have bug, going to revert
Diffstat (limited to 'test/test_exporter_json.cpp')
-rw-r--r--test/test_exporter_json.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_exporter_json.cpp b/test/test_exporter_json.cpp
index a000c05..333697b 100644
--- a/test/test_exporter_json.cpp
+++ b/test/test_exporter_json.cpp
@@ -39,7 +39,6 @@ void test_check_if_tag_list_is_in_json(cJSON *tag_obj, const Fieldstat_tag_list_
{
for (size_t tag_id = 0; tag_id < benchmark->get_tag_count(); tag_id++) {
cJSON *tag_val = cJSON_GetObjectItem(tag_obj, benchmark->get_tag()[tag_id].key);
- printf("the tag key is : %s\n", benchmark->get_tag()[tag_id].key);
EXPECT_NE(tag_val, nullptr);
if (tag_val->type == cJSON_String) {
EXPECT_STREQ(tag_val->valuestring, benchmark->get_tag()[tag_id].value_str);