mirror of
https://github.com/nlohmann/json.git
synced 2026-05-02 04:32:29 +00:00
🎨 use Clang-Format
This commit is contained in:
@@ -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*
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user