Skip to content

Commit

Permalink
empty equals empty
Browse files Browse the repository at this point in the history
  • Loading branch information
fthomas committed Nov 21, 2021
1 parent faa9509 commit 5cf6463
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ class VersionTest extends DisciplineSuite {

test("equal") {
assertEquals(Version("3.0").compare(Version("3.0.+")), 0)
val empty: Component = Component.Empty
assertEquals(empty.compare(empty), 0)
}

test("selectNext, table 1") {
Expand Down

0 comments on commit 5cf6463

Please sign in to comment.