mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 19:54:48 +02:00
Microopt: stream single char instead of single char string
This commit is contained in:
@@ -17,8 +17,8 @@ namespace Catch {
|
||||
if( lhs.size() + rhs.size() < 40 &&
|
||||
lhs.find('\n') == std::string::npos &&
|
||||
rhs.find('\n') == std::string::npos )
|
||||
os << lhs << " " << op << " " << rhs;
|
||||
os << lhs << ' ' << op << ' ' << rhs;
|
||||
else
|
||||
os << lhs << "\n" << op << "\n" << rhs;
|
||||
os << lhs << '\n' << op << '\n' << rhs;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user