aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/main.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-21 10:37:54 -0500
committerJack Lloyd <[email protected]>2015-12-21 10:37:54 -0500
commit3467948a1fd8c0e12650197e9e29636e57b0fcdb (patch)
tree0fb1b295864d137ef78c1921b60a7d689d14ee5a /src/tests/main.cpp
parent66fb50a462d72c106bd4a4102a1faff92bd5f7e2 (diff)
Add missing try/catch in signature verification test.
Improve diagnostics when an exception escapes a test GH #369
Diffstat (limited to 'src/tests/main.cpp')
-rw-r--r--src/tests/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/main.cpp b/src/tests/main.cpp
index 0a09bacc3..692bc41af 100644
--- a/src/tests/main.cpp
+++ b/src/tests/main.cpp
@@ -161,7 +161,7 @@ class Test_Runner : public Botan_CLI::Command
auto i = combined.find(who);
if(i == combined.end())
{
- combined[who] = Botan_Tests::Test::Result(who);
+ combined.insert(std::make_pair(who, Botan_Tests::Test::Result(who)));
i = combined.find(who);
}