summaryrefslogtreecommitdiff
path: root/tests/test_helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_helper.cpp')
-rw-r--r--tests/test_helper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_helper.cpp b/tests/test_helper.cpp
index 043be60..63f64ed 100644
--- a/tests/test_helper.cpp
+++ b/tests/test_helper.cpp
@@ -202,7 +202,7 @@ static bool _test_peppol_file(char* id)
char* name = (char*)xml_easy_name(node);
- if (strcmp(name, "svrl:failed-assert") == 0) {
+ if (strops::equals(name, "svrl:failed-assert")) {
struct xml_node* text_node = xml_easy_child(node, (uint8_t *)"svrl:text", 0);
char* content = (char*)xml_easy_content(text_node);
@@ -215,7 +215,7 @@ static bool _test_peppol_file(char* id)
xml_string_copy(attr_name, b_buffer, b_length);
b_buffer[b_length] = 0;
- if (strcmp((char*)b_buffer, "location") == 0) {
+ if (strops::equals((char*)b_buffer, "location")) {
struct xml_string* attr_content = xml_node_attribute_content(node, x);
size_t a_length = xml_string_length(attr_content);