From ee9f2fb830a178d72ce99744f75b70979a3f0ccc Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Thu, 4 Jun 2026 12:28:48 -0400 Subject: [PATCH] clang-format complains about the equality tests --- src/test/basics/Number_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/basics/Number_test.cpp b/src/test/basics/Number_test.cpp index 2402cc69b6..0328dadd31 100644 --- a/src/test/basics/Number_test.cpp +++ b/src/test/basics/Number_test.cpp @@ -20,6 +20,7 @@ #include #include #include +#include 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) } } }