🎨 use Clang-Format

This commit is contained in:
Niels Lohmann
2023-11-29 15:02:51 +01:00
parent e87dba5cc3
commit d16f4496eb
8 changed files with 34 additions and 28 deletions
+2 -2
View File
@@ -175,7 +175,7 @@ TEST_CASE("lexicographical comparison operators")
{
CAPTURE(i)
CAPTURE(j)
CHECK((j_types[i] <= > j_types[j]) == expected[i][j]); // *NOPAD*
CHECK((j_types[i] <=> j_types[j]) == expected[i][j]); // *NOPAD*
}
}
}
@@ -561,7 +561,7 @@ TEST_CASE("lexicographical comparison operators")
{
CAPTURE(i)
CAPTURE(j)
CHECK((j_values[i] <= > j_values[j]) == expected[i][j]); // *NOPAD*
CHECK((j_values[i] <=> j_values[j]) == expected[i][j]); // *NOPAD*
}
}
}
+1 -1
View File
@@ -703,7 +703,7 @@ TEST_CASE("JSON pointers")
// build with C++20
// JSON_HAS_CPP_20
#if JSON_HAS_THREE_WAY_COMPARISON
CHECK((ptr1 <= > ptr2) == std::strong_ordering::less); // *NOPAD*
CHECK((ptr1 <=> ptr2) == std::strong_ordering::less); // *NOPAD*
CHECK(ptr2 > ptr1);
#endif
}