Fixed test.
This commit is contained in:
parent
d3ebf2689e
commit
9985de1e0a
1 changed files with 1 additions and 2 deletions
|
@ -37,7 +37,6 @@ import java.io.File
|
||||||
import java.nio.file.Files
|
import java.nio.file.Files
|
||||||
import java.util.Properties
|
import java.util.Properties
|
||||||
import kotlin.test.assertEquals
|
import kotlin.test.assertEquals
|
||||||
import kotlin.test.assertFalse
|
|
||||||
import kotlin.test.assertNull
|
import kotlin.test.assertNull
|
||||||
import kotlin.test.assertTrue
|
import kotlin.test.assertTrue
|
||||||
|
|
||||||
|
@ -87,7 +86,7 @@ object UtilsSpec : Spek({
|
||||||
Pair(config.preReleaseKey, "beta"),
|
Pair(config.preReleaseKey, "beta"),
|
||||||
Pair(config.buildMetaKey, "007"))
|
Pair(config.buildMetaKey, "007"))
|
||||||
it("should have none of our properties") {
|
it("should have none of our properties") {
|
||||||
assertFalse(Utils.isNotSystemProperty(setOf(config.majorKey, config.minorKey, config.patchKey, config.preReleaseKey,
|
assertTrue(Utils.isNotSystemProperty(setOf(config.majorKey, config.minorKey, config.patchKey, config.preReleaseKey,
|
||||||
config.buildMetaKey)))
|
config.buildMetaKey)))
|
||||||
}
|
}
|
||||||
it("version should match system properties") {
|
it("version should match system properties") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue