mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Use all parts of suite name to detect duplicates
This commit is contained in:
committed by
Tom Ritchford
parent
c489975015
commit
49673c33b4
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user