Skip to content

Commit 4dbaef6

Browse files
committed
Added missin KDoc
1 parent 320728f commit 4dbaef6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/kotlin/in/rcard/assertj/arrowcore/AbstractEitherAssert.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ abstract class AbstractEitherAssert<SELF : AbstractEitherAssert<SELF, LEFT, RIGH
4949
}
5050
}
5151

52+
/**
53+
* Verifies that the actual [Either] is [Either.Right] and contains the given value.
54+
*
55+
* @param expectedValue the expected value inside the [Either].
56+
* @return this assertion object.
57+
*/
5258
fun containsOnRight(expectedValue: RIGHT): SELF {
5359
assertIsRight()
5460
actual.onRight { right ->

0 commit comments

Comments
 (0)