summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/expand/test.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/expand/test.cpp b/src/expand/test.cpp
index 707d0795..01e566ff 100644
--- a/src/expand/test.cpp
+++ b/src/expand/test.cpp
@@ -22,7 +22,11 @@ class CTestHandler:
if( crate.m_test_harness )
{
::AST::TestDesc td;
- td.name = path.nodes().back().name();
+ for(const auto& node : path.nodes())
+ {
+ td.name += "::";
+ td.name += node.name();
+ }
td.path = ::AST::Path(path);
crate.m_tests.push_back( mv$(td) );