test: check space also in timestamp logs of debugger print

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
Jitendra Sharma
2024-10-09 19:31:55 +00:00
committed by Compute-Runtime-Automation
parent dad53a13c3
commit b816f6e127

View File

@@ -446,6 +446,6 @@ TEST(DebugLog, WhenLogDebugStringCalledThenNothingIsPrintedToStdout) {
TEST(DurationLogTest, givenDurationGetTimeStringThenTimeStringIsCorrect) {
auto timeString = DurationLog::getTimeString();
for (auto c : timeString) {
EXPECT_TRUE(std::isdigit(c) || c == '[' || c == ']' || c == '.');
EXPECT_TRUE(std::isdigit(c) || c == '[' || c == ']' || c == '.' || c == ' ');
}
}