From: David ‘Bombe’ Roden Date: Wed, 26 Jun 2019 04:50:25 +0000 (+0200) Subject: ✅ Use annotations from kotlin-test-junit X-Git-Tag: v79^2~6 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0e9dd6a30bdccab85d2b22a7a5937e501f9d90be;p=Sone.git ✅ Use annotations from kotlin-test-junit --- diff --git a/build.gradle b/build.gradle index b71eb5d..4c488f7 100644 --- a/build.gradle +++ b/build.gradle @@ -52,7 +52,7 @@ dependencies { compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2' compile group: 'org.jsoup', name: 'jsoup', version: '1.10.2' - testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test' + testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit' testCompile group: 'junit', name: 'junit', version: '4.11' testCompile group: 'org.mockito', name: 'mockito-core', version: '2.10.0' testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3' diff --git a/src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt b/src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt index 9ea97d9..a3fe706 100644 --- a/src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt @@ -24,7 +24,7 @@ import net.pterodactylus.sone.database.* import net.pterodactylus.sone.test.* import org.hamcrest.MatcherAssert.* import org.hamcrest.Matchers.* -import org.junit.* +import kotlin.test.* /** * JUnit test case for [SoneTextParser].