Minor kotlin-test doc fixes
- fix JUnit5Contributor docs reference - fix typo
This commit is contained in:
@@ -8,7 +8,7 @@ package kotlin.test
|
|||||||
/**
|
/**
|
||||||
* Serves as a bridge to a testing framework.
|
* Serves as a bridge to a testing framework.
|
||||||
*
|
*
|
||||||
* The tests structure is defined using internal functions suite and test, which delegate to correspoding functions of a [FrameworkAdapter].
|
* The tests structure is defined using internal functions suite and test, which delegate to corresponding functions of a [FrameworkAdapter].
|
||||||
* Sample test layout:
|
* Sample test layout:
|
||||||
*
|
*
|
||||||
* suite('a suite', false, function() {
|
* suite('a suite', false, function() {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import org.junit.jupiter.api.Assertions
|
|||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides [JUnitAsserter] if `org.junit.Assert` is found in the classpath.
|
* Provides [JUnit5Asserter] if `org.junit.jupiter.api.Assertions` class is found in the classpath.
|
||||||
*/
|
*/
|
||||||
class JUnit5Contributor : AsserterContributor {
|
class JUnit5Contributor : AsserterContributor {
|
||||||
override fun contribute(): Asserter? {
|
override fun contribute(): Asserter? {
|
||||||
|
|||||||
Reference in New Issue
Block a user