Write tests for dynamic versions with ivy and maven resolvers

and refactor tests
#KT-27051 fixed
this commit is just a confirmation of the fix: either it worked
from the beginning, or was fixed by some unrelated change
This commit is contained in:
Ilya Chernikov
2019-03-19 16:04:41 +01:00
parent f2bddce4fd
commit ffd1633e3e
6 changed files with 87 additions and 36 deletions
@@ -0,0 +1,9 @@
@file:DependsOn("junit:junit:(4.11,4.12]")
org.junit.Assert.assertThrows(NullPointerException::class.java) {
throw null!!
}
println("Hello, World!")
@@ -0,0 +1,9 @@
@file:DependsOn("junit:junit:(4.12,5.0)")
org.junit.Assert.assertThrows(NullPointerException::class.java) {
throw null!!
}
println("Hello, World!")