Skip to content

Commit

Permalink
Fixed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Apr 11, 2019
1 parent d3ebf26 commit 9985de1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/kotlin/net/thauvin/erik/gradle/semver/UtilsSpec.kt
Expand Up @@ -37,7 +37,6 @@ import java.io.File
import java.nio.file.Files
import java.util.Properties
import kotlin.test.assertEquals
import kotlin.test.assertFalse
import kotlin.test.assertNull
import kotlin.test.assertTrue

Expand Down Expand Up @@ -87,7 +86,7 @@ object UtilsSpec : Spek({
Pair(config.preReleaseKey, "beta"),
Pair(config.buildMetaKey, "007"))
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)))
}
it("version should match system properties") {
Expand Down

0 comments on commit 9985de1

Please sign in to comment.