Coverage after a thrown exception

Jul 29, 2015 at 8:36 PM
Edited Jul 29, 2015 at 8:38 PM
Having trouble getting 100% coverage with throwing an exception from trying to pop an object off of an empty stack.

Screenshot of Coverage

If anyone could help with this, I appreciate the help.
Coordinator
Aug 1, 2015 at 6:40 PM
Hello,

You can replace:
std::exception lError("");
throw lError;
by
throw std::exception("");
I have just added Coverage and throw section to the page https://opencppcoverage.codeplex.com/documentation, if you want more information.

Hope that help,

OpenCppCoverage
Marked as answer by ajs97c on 8/14/2015 at 7:20 AM
Aug 14, 2015 at 2:17 PM
Edited Aug 14, 2015 at 2:20 PM
Thanks for the help.