assert: improve loose assertion message
So far the error message from a loose assertion is not always very informative and could be misleading. This is fixed by:
- showing more from the actual error message
- having a better error description
- not using custom inspection
- inspecting a higher depth
- inspecting the full array instead of up to 100 entries
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines