Skip to content

Commit

Permalink
Add version comparison test involving pre-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholters committed Jul 25, 2016
1 parent 06a5d8b commit 10670ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/version.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ import Base.issupbuild
# basic comparison
VersionNumber(2, 3, 1) == VersionNumber(Int8(2), UInt32(3), Int32(1)) == v"2.3.1"
@test v"2.3.0" < v"2.3.1" < v"2.4.8" < v"3.7.2"
@test v"0.6.0-" < v"0.6.0-dev" < v"0.6.0-dev.123" < v"0.6.0-dev.unknown" < v"0.6.0-pre" < v"0.6.0"

#lowerbound and upperbound
import Base: lowerbound, upperbound
Expand Down

0 comments on commit 10670ab

Please sign in to comment.