mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 09:31:53 +03:00
Moves static methods from class String to the namespace string
This commit is contained in:
@@ -27,9 +27,6 @@
|
||||
#include "src/utils/string.h"
|
||||
|
||||
|
||||
using modsecurity::utils::String;
|
||||
|
||||
|
||||
namespace modsecurity_test {
|
||||
|
||||
|
||||
@@ -112,9 +109,11 @@ std::string UnitTest::print() {
|
||||
i << this->obtained << "\"" << std::endl;
|
||||
}
|
||||
if (this->output != this->obtainedOutput) {
|
||||
i << "Expecting: \"" << String::toHexIfNeeded(this->output);
|
||||
i << "Expecting: \"";
|
||||
i << modsecurity::utils::string::toHexIfNeeded(this->output);
|
||||
i << "\" - returned: \"";
|
||||
i << String::toHexIfNeeded(this->obtainedOutput) << "\"";
|
||||
i << modsecurity::utils::string::toHexIfNeeded(this->obtainedOutput);
|
||||
i << "\"";
|
||||
i << std::endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user