Skip to content

Commit c278b2d

Browse files
committed
Fix formatting in ArrayRotation tests
1 parent 47aa448 commit c278b2d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/com/thealgorithms/others/ArrayRotationTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ void shouldRotateArrayRightByTwoPositions() {
1313
ArrayRotation.rotateRight(values, 2);
1414

1515
assertArrayEquals(new int[] {4, 5, 1, 2, 3}, values);
16-
}
16+
}
1717

1818
@Test
1919
void shouldRotateArrayLeftByTwoPositions() {
@@ -49,11 +49,11 @@ void shouldHandleEmptyArrayWithoutErrors() {
4949
ArrayRotation.rotateRight(values, 3);
5050

5151
assertArrayEquals(new int[] {}, values);
52-
}
52+
}
5353

5454
@Test
5555
void shouldReturnOriginalArrayWhenRotationIsZero() {
56-
int[] values = { 7, 8, 9 };
56+
int[] values = {7, 8, 9};
5757

5858
ArrayRotation.rotateLeft(values, 0);
5959

0 commit comments

Comments
 (0)