Major version test (#167)
This commit is contained in:
parent
4d4b20c38d
commit
3c9659bd06
|
@ -21,6 +21,12 @@ class SemVerTests: XCTestCase {
|
|||
XCTAssert(current < new)
|
||||
}
|
||||
|
||||
func testMajorGreaterMinorLesser() {
|
||||
let current = SemVer("1.0.2")
|
||||
let new = SemVer("2.0.0")
|
||||
XCTAssert(current < new)
|
||||
}
|
||||
|
||||
func testBeta() {
|
||||
let current = SemVer("1.0.2")
|
||||
let new = SemVer("1.1.0_beta1")
|
||||
|
|
Loading…
Reference in New Issue