Skip to content

Commit

Permalink
Add edge test
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierSegoviaCordoba committed Aug 5, 2023
1 parent 2926323 commit 4e8a396
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,16 @@ internal class GradleVersionTest {
Version("1.0.0.0+1.9.2-dev-5787-SNAPSHOT")
Version("1.0.0.12+1.9.2-dev-5787-SNAPSHOT")
Version("1.0.0+1.9.2-dev-5787-SNAPSHOT")
Version.invoke(
major = 1,
minor = 0,
patch = 0,
stageName = "SNAPSHOT",
stageNum = null,
commits = 1,
hash = "h123456",
metadata = "M3t4D4ta",
)
shouldThrow<GradleVersionException> { Version("1.0.0-SNAPSHOT-11") }
shouldThrow<GradleVersionException> { Version("1.0.0-SNAPSHOT-jjj11") }
shouldThrow<GradleVersionException> { Version("1.0.0-SNAPSHOT-jaaj") }
Expand Down

0 comments on commit 4e8a396

Please sign in to comment.