diff options
author | Jack Lloyd <[email protected]> | 2015-12-21 10:37:54 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-12-21 10:37:54 -0500 |
commit | 3467948a1fd8c0e12650197e9e29636e57b0fcdb (patch) | |
tree | 0fb1b295864d137ef78c1921b60a7d689d14ee5a /src/tests/tests.h | |
parent | 66fb50a462d72c106bd4a4102a1faff92bd5f7e2 (diff) |
Add missing try/catch in signature verification test.
Improve diagnostics when an exception escapes a test
GH #369
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r-- | src/tests/tests.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h index c38145504..e12f5f6de 100644 --- a/src/tests/tests.h +++ b/src/tests/tests.h @@ -61,7 +61,7 @@ class Test class Result { public: - Result(const std::string& who = "") : m_who(who) {} + Result(const std::string& who) : m_who(who) {} size_t tests_passed() const { return m_tests_passed; } size_t tests_failed() const { return m_fail_log.size(); } |