Björn Fahller
Björn Fahller
@FreddieChopin do you have information that still points to this being a bug in Trompeloeil? If not, I intend to close this soon.
Closing now. Feel free to reopen if you think this was in error.
You are absolutely right. Trompeloeil works solely from the knowledge of the type, as it's visible at the site where you place expectations, so casting away from the known type...
I don't have a hard limit, but I try not to go over 80. I'm sure you'll find counter examples, though.
Unfortunately, no. Early on, I made some experiments with this, and it looks like it's possible to add, but it would be a major task.
One thing you can do is to check if the expectation is satisfied. `REQUIRE(bar_should_be_initialized->is_satisfied());` I'm not sure if that is any better, though. Another way is to use `REQUIRE_NOTHROW(bar_should_be_initialized.reset());`, but...
I realize there are a few too many `noexcept` in the code, which causes some problems. Unfortunately Catch2 is doing something I don't quite understand in the fail case, so...
If you use the catch2 adapter you get a reasonable error message. There's also an improved adapter on the `develop` branch. `#include ` However, catch2 is behaving in a somewhat...
Thanks. I'll look into it.
I am indeed interested in this. Thank you! Extra thanks for getting a CI build in place, it would quickly rot otherwise. I note that it failed, though, which should...