mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -54,7 +54,7 @@ TEST_CASE(vector_strings)
|
|||
strings.append("cat");
|
||||
strings.append("dog");
|
||||
|
||||
auto string_compare = [](const String& a, const String& b) -> int {
|
||||
auto string_compare = [](String const& a, String const& b) -> int {
|
||||
return strcmp(a.characters(), b.characters());
|
||||
};
|
||||
auto test1 = *binary_search(strings, String("bat"), nullptr, string_compare);
|
||||
|
@ -108,7 +108,7 @@ TEST_CASE(constexpr_array_search)
|
|||
|
||||
TEST_CASE(unsigned_to_signed_regression)
|
||||
{
|
||||
const Array<u32, 5> input { 0, 1, 2, 3, 4 };
|
||||
Array<u32, 5> const input { 0, 1, 2, 3, 4 };
|
||||
|
||||
// The algorithm computes 1 - input[2] = -1, and if this is (incorrectly) cast
|
||||
// to an unsigned then it will look in the wrong direction and miss the 1.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue