diff --git a/test/objects/exception.hpp b/test/objects/exception.hpp index 68595eab..61a4be10 100644 --- a/test/objects/exception.hpp +++ b/test/objects/exception.hpp @@ -262,7 +262,7 @@ namespace test { if (less_impl(x1.first, x2.first)) { return true; } - if (!less_impl(x1.first, x2.first)) { + if (less_impl(x2.first, x1.first)) { return false; } return less_impl(x1.second, x2.second);