mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Changes library namespace from ModSecurity to modsecurity
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
using modsecurity_test::UnitTest;
|
||||
using modsecurity_test::ModSecurityTest;
|
||||
using modsecurity_test::ModSecurityTestResults;
|
||||
using ModSecurity::actions::transformations::Transformation;
|
||||
using ModSecurity::operators::Operator;
|
||||
using modsecurity::actions::transformations::Transformation;
|
||||
using modsecurity::operators::Operator;
|
||||
|
||||
std::string default_test_path = "test-cases/secrules-language-tests/operators";
|
||||
|
||||
|
@@ -72,9 +72,9 @@ std::string UnitTest::print() {
|
||||
i << this->obtained << "\"" << std::endl;
|
||||
}
|
||||
if (this->output != this->obtainedOutput) {
|
||||
i << "Expecting: \"" << ModSecurity::toHexIfNeeded(this->output);
|
||||
i << "Expecting: \"" << modsecurity::toHexIfNeeded(this->output);
|
||||
i << "\" - returned: \"";
|
||||
i << ModSecurity::toHexIfNeeded(this->obtainedOutput) << "\"";
|
||||
i << modsecurity::toHexIfNeeded(this->obtainedOutput) << "\"";
|
||||
i << std::endl;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user