We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a602b3 commit 63357ebCopy full SHA for 63357eb
1 file changed
src/main/java/org/assertj/vavr/api/AbstractValidationAssert.java
@@ -122,7 +122,7 @@ public SELF containsValidSame(VALID expectedValue) {
122
* @param expectedErrorValue the expected value inside the {@link io.vavr.control.Validation}.
123
* @return this assertion object.
124
*/
125
- public SELF containsInvalidSame(VALID expectedErrorValue) {
+ public SELF containsInvalidSame(INVALID expectedErrorValue) {
126
assertIsInvalid();
127
checkNotNull(expectedErrorValue);
128
if (actual.getError() != expectedErrorValue)
0 commit comments