| 268 | } |
| 269 | |
| 270 | inline void TestFormat1() { |
| 271 | try { |
| 272 | throw yexception() << 1 << " qw " << 12.1; |
| 273 | UNIT_ASSERT(false); |
| 274 | } catch (...) { |
| 275 | const TString err = CurrentExceptionMessage(); |
| 276 | |
| 277 | UNIT_ASSERT(err.Contains("1 qw 12.1")); |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | static inline void CheckCurrentExceptionContains(const char* message) { |
| 282 | TString err = CurrentExceptionMessage(); |
nothing calls this directly
no test coverage detected