mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-28 23:15:17 +08:00
chore: enforce InsertNewlineAtEOF
in clang-format
(#4343)
* style: insert newline at eof * style: use `InsertNewlineAtEOF` in `clang-format` * fix: use `clang-format-16` * chore: update clang-format-lint-action to v0.16.2 --------- Co-authored-by: Debasish Biswas <debasishbsws.dev@gmail.com>
This commit is contained in:
@ -17,4 +17,4 @@ class IndexOfRightMostSetBitTest {
|
||||
assertEquals(-1, IndexOfRightMostSetBit.indexOfRightMostSetBit(0));
|
||||
assertEquals(3, IndexOfRightMostSetBit.indexOfRightMostSetBit(-40));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -20,4 +20,4 @@ class NonRepeatingNumberFinderTest {
|
||||
int arr2[] = {12};
|
||||
assertEquals(12, NonRepeatingNumberFinder.findNonRepeatingNumber(arr2));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,4 +30,4 @@ class NumbersDifferentSignsTest {
|
||||
void testSameSignsNegative() {
|
||||
assertFalse(NumbersDifferentSigns.differentSigns(-5, -8));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user