mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-26 19:18:48 +02:00
Don't use std::quoted(), it requires C++14
This commit is contained in:
parent
8eaab27bd0
commit
2c34d00261
@ -200,8 +200,8 @@ BOOST_AUTO_TEST_CASE(FormatDateTime) {
|
||||
// properly reporting errors. If this limitation of our implementation is lifted, other behavior like throwing
|
||||
// an exception would also be valid.
|
||||
BOOST_CHECK_MESSAGE(result.empty() || result == format,
|
||||
"FormatDateTime(" << std::quoted(format) << ", " << ts << ") = " << std::quoted(result) <<
|
||||
" should be one of [\"\", " << std::quoted(format) << "]");
|
||||
"FormatDateTime(\"" << format << "\", " << ts << ") = \"" << result <<
|
||||
"\" should be one of [\"\", \"" << format << "\"]");
|
||||
}
|
||||
|
||||
// Out of range timestamps.
|
||||
|
Loading…
x
Reference in New Issue
Block a user