forked from catchorg/Catch2
Tiny optimization in JUnit reporter
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Catch {
|
|||||||
#else
|
#else
|
||||||
std::strftime(timeStamp, timeStampSize, fmt, timeInfo);
|
std::strftime(timeStamp, timeStampSize, fmt, timeInfo);
|
||||||
#endif
|
#endif
|
||||||
return std::string(timeStamp);
|
return std::string(timeStamp, timeStampSize-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string fileNameTag(const std::vector<std::string> &tags) {
|
std::string fileNameTag(const std::vector<std::string> &tags) {
|
||||||
|
Reference in New Issue
Block a user