From cdc53f5fecf59eb48e6860f28eff98801b568908 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Fri, 27 Mar 2020 19:43:53 +0300 Subject: [PATCH] Minor kotlin-test doc fixes - fix JUnit5Contributor docs reference - fix typo --- .../js/src/main/kotlin/kotlin/test/FrameworkAdapter.kt | 2 +- libraries/kotlin.test/junit5/src/main/kotlin/JUnitSupport.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/kotlin.test/js/src/main/kotlin/kotlin/test/FrameworkAdapter.kt b/libraries/kotlin.test/js/src/main/kotlin/kotlin/test/FrameworkAdapter.kt index 81f4823dee5..eccc03fa651 100644 --- a/libraries/kotlin.test/js/src/main/kotlin/kotlin/test/FrameworkAdapter.kt +++ b/libraries/kotlin.test/js/src/main/kotlin/kotlin/test/FrameworkAdapter.kt @@ -8,7 +8,7 @@ package kotlin.test /** * 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: * * suite('a suite', false, function() { diff --git a/libraries/kotlin.test/junit5/src/main/kotlin/JUnitSupport.kt b/libraries/kotlin.test/junit5/src/main/kotlin/JUnitSupport.kt index c205df20b72..bb594182a47 100644 --- a/libraries/kotlin.test/junit5/src/main/kotlin/JUnitSupport.kt +++ b/libraries/kotlin.test/junit5/src/main/kotlin/JUnitSupport.kt @@ -9,7 +9,7 @@ import org.junit.jupiter.api.Assertions 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 { override fun contribute(): Asserter? {