Skip to content
Snippets Groups Projects
Commit f9048677 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

Make CaptureLog::withMessage() raise tut::failure if not found.

All known callers were using ensure(! withMessage(...).empty()). Centralize
that logic. Make failure message report the string being sought and the log
messages in which it wasn't found.
In case someone does want to permit the search to fail, add an optional
'required' parameter, default true.
Leverage new functionality in llprocess_test.cpp.
parent 22fcb563
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment