Use all parts of suite name to detect duplicates

This commit is contained in:
Vinnie Falco
2015-02-23 09:58:28 -08:00
committed by Tom Ritchford
parent c489975015
commit 49673c33b4

View File

@@ -62,7 +62,9 @@ suite_list::insert (char const* name, char const* module, char const* library,
{
#ifndef NDEBUG
{
auto const result (names_.insert (name));
std::string s;
s = std::string(library) + "." + module + "." + name;
auto const result (names_.insert(s));
assert (result.second); // Duplicate name
}