Get rid of deprecated annotations and modifiers in stdlib (besides JS)
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ import kotlin.test.*
|
||||
open class SampleTest {
|
||||
open val driver: WebDriver = HtmlUnitDriver(true)
|
||||
|
||||
test fun homePage(): Unit {
|
||||
@test fun homePage(): Unit {
|
||||
driver.get("file://" + File("sample.html").getCanonicalPath())
|
||||
Thread.sleep(1000)
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import kotlin.test.*
|
||||
open class SampleTest {
|
||||
open val driver: WebDriver = HtmlUnitDriver(true)
|
||||
|
||||
test fun homePage(): Unit {
|
||||
@test fun homePage(): Unit {
|
||||
driver.get("file://" + File("sample.html").getCanonicalPath())
|
||||
Thread.sleep(1000)
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ import sample.Hello
|
||||
import org.junit.Test
|
||||
|
||||
class SampleTest {
|
||||
Test fun dummy(): Unit {
|
||||
@Test
|
||||
fun dummy(): Unit {
|
||||
Hello().doSomething()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user