diff --git a/src/commands.hxx b/src/commands.hxx index 9010ecd..f685c4b 100644 --- a/src/commands.hxx +++ b/src/commands.hxx @@ -602,7 +602,7 @@ class Script: public QObject { xml::Node testcase("testcase"); try { testcase.attr("classname") = - xmlattr(_testclass.size()?"file: "+_testclass:(*cmd)->file(), true) + xmlattr(_testclass.size()?_testclass:"file: "+(*cmd)->file(), true) .toStdString(); testcase.attr("name") = xmlattr(QString("%1: %2")