Skip to content

Commit

Permalink
Increase API version
Browse files Browse the repository at this point in the history
Api version is increased to 5.11 for `assertNull` and `assertNotNull`
methods

Issue: junit-team#1866
  • Loading branch information
awelless committed Aug 25, 2023
1 parent eccb259 commit e427978
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -113,7 +113,7 @@ fun assertAll(heading: String?, vararg executables: () -> Unit) =
* ```
* @see Assertions.assertNull
*/
@API(since = "5.10", status = EXPERIMENTAL)
@API(since = "5.11", status = EXPERIMENTAL)
fun assertNull(actual: Any?) {
contract {
returns() implies (actual == null)
Expand All @@ -134,7 +134,7 @@ fun assertNull(actual: Any?) {
* ```
* @see Assertions.assertNull
*/
@API(since = "5.10", status = EXPERIMENTAL)
@API(since = "5.11", status = EXPERIMENTAL)
fun assertNull(actual: Any?, message: String) {
contract {
returns() implies (actual == null)
Expand All @@ -155,7 +155,7 @@ fun assertNull(actual: Any?, message: String) {
* ```
* @see Assertions.assertNull
*/
@API(since = "5.10", status = EXPERIMENTAL)
@API(since = "5.11", status = EXPERIMENTAL)
fun assertNull(actual: Any?, messageSupplier: () -> String) {
contract {
returns() implies (actual == null)
Expand All @@ -178,7 +178,7 @@ fun assertNull(actual: Any?, messageSupplier: () -> String) {
* ```
* @see Assertions.assertNotNull
*/
@API(since = "5.10", status = EXPERIMENTAL)
@API(since = "5.11", status = EXPERIMENTAL)
fun assertNotNull(actual: Any?) {
contract {
returns() implies (actual != null)
Expand All @@ -199,7 +199,7 @@ fun assertNotNull(actual: Any?) {
* ```
* @see Assertions.assertNotNull
*/
@API(since = "5.10", status = EXPERIMENTAL)
@API(since = "5.11", status = EXPERIMENTAL)
fun assertNotNull(actual: Any?, message: String) {
contract {
returns() implies (actual != null)
Expand All @@ -220,7 +220,7 @@ fun assertNotNull(actual: Any?, message: String) {
* ```
* @see Assertions.assertNotNull
*/
@API(since = "5.10", status = EXPERIMENTAL)
@API(since = "5.11", status = EXPERIMENTAL)
fun assertNotNull(actual: Any?, messageSupplier: () -> String) {
contract {
returns() implies (actual != null)
Expand Down

0 comments on commit e427978

Please sign in to comment.