Skip to content

Commit 313f05b

Browse files
Update README.md
1 parent 37beb68 commit 313f05b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ v300rc1.preRelease // "rc1-test"
4343
v123 < v200 // true
4444
SemanticVersion("2.0.0")! < SemanticVersion("2.0.1")! // true
4545
// NB: beta versions come before their releases
46-
SemanticVersion("2.0.0")! < SemanticVersion("2.0.0-b1")! // false
46+
SemanticVersion("2.0.0")! > SemanticVersion("2.0.0-b1")! // true
4747
v123 == SemanticVersion("1.2.3") // true
4848
SemanticVersion("v1.2.3-beta1+build5")
4949
== SemanticVersion(1, 2, 3, "beta1", "build5") // true

0 commit comments

Comments
 (0)