Skip to content

Commit a77f352

Browse files
author
sampada
committed
BAEL-3602 : swapped order of args in assertEquals call
1 parent 6456847 commit a77f352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-java-modules/core-java-13/src/test/java/com/baeldung/newfeatures/SwitchExpressionsWithYieldUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public void whenSwitchingOnOperationSquareMe_thenWillReturnSquare() {
2121
default -> me;
2222
};
2323

24-
assertEquals(result, 16);
24+
assertEquals(16, result);
2525
}
2626

2727
}

0 commit comments

Comments
 (0)