Tiny optimization in JUnit reporter

This commit is contained in:
Martin Hořeňovský 2021-05-23 11:31:33 +02:00
parent 581c46249a
commit 9683570be7
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -46,7 +46,7 @@ namespace Catch {
#else
std::strftime(timeStamp, timeStampSize, fmt, timeInfo);
#endif
return std::string(timeStamp);
return std::string(timeStamp, timeStampSize-1);
}
std::string fileNameTag(const std::vector<std::string> &tags) {