tests: Added pointer test

This commit is contained in:
WerWolv
2021-09-25 23:31:37 +02:00
parent b323d711cf
commit 62656f4c51
6 changed files with 44 additions and 9 deletions

View File

@@ -97,7 +97,7 @@ int test(int argc, char **argv) {
auto &controlPattern = *currTest->getPatterns().at(i);
if (evaluatedPattern != controlPattern) {
hex::log::fatal("Pattern with name {}:{} didn't match template", patterns->at(i)->getTypeName(), patterns->at(i)->getVariableName());
hex::log::fatal("Pattern with name {}:{} didn't match template", evaluatedPattern.getTypeName(), evaluatedPattern.getVariableName());
return EXIT_FAILURE;
}
}