clang-format complains about the equality tests

This commit is contained in:
Ed Hennis
2026-06-04 12:28:48 -04:00
parent 4ca1c6d97f
commit 7f2d18f99e

View File

@@ -20,6 +20,7 @@
#include <stdexcept>
#include <string>
#include <tuple>
#include <utility>
namespace xrpl {
@@ -1433,10 +1434,13 @@ public:
{
auto const str = to_string(n);
// NOLINTBEGIN(misc-redundant-expression) Explicitly testing operators with
// equivalent values
expect(!(n < n), str + " < ", __FILE__, line);
expect(!(n > n), str + " >", __FILE__, line);
expect(n >= n, str + " >=", __FILE__, line);
expect(n <= n, str + " <=", __FILE__, line);
// NOLINTEND(misc-redundant-expression)
}
}
}