Improve unit test code not to compare with explanatory messages for each platform. Instead, use have an exception object to check if the string returned by what() on the raised exception matches the string returned by what() on the expected exception instance. This way, we do not need to list all different possible explanatory strings for different platforms in the test code, and make it simple. (The idea is by Cory Fields.)
Description
Description
Details
Details
- Provenance
Kangmo <kangmo@nanolat.com> Authored on Dec 16 2013, 00:26 schancel Pushed on Jan 5 2018, 21:58 schancel Pushed on Jan 5 2018, 21:39 schancel Pushed on Jan 5 2018, 21:17 - Parents
- rSTAGINGbccd5324ab5b: Fix unit test error on OSX 10.9 using Apple LLVM v5.0.
- Branches
- Unknown
- Tags