Refactored test cases implementation

This commit is contained in:
Bartek Kryza
2021-02-20 23:17:14 +01:00
parent 501a1f0466
commit ce7aab2a0f
11 changed files with 157 additions and 37 deletions

View File

@@ -10,6 +10,9 @@ std::string namespace_relative(
const std::vector<std::string> &namespaces, const std::string &n)
{
for (const auto &ns : namespaces) {
if(ns.empty())
continue;
if (n == ns)
return "";