ef80d00b06
Added an Iterator over &str wich yields the VersionParts. Change-Id: I8043d423127446a173d01d290aab10de0c24a6fc Reviewed-on: https://cl.tvl.fyi/c/depot/+/6619 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
12 lines
445 B
Nix
12 lines
445 B
Nix
[
|
|
(builtins.compareVersions "1.2.3" "1.2.3")
|
|
(builtins.compareVersions "1.2.2" "1.2.3")
|
|
(builtins.compareVersions "1.2.3" "1.2.40")
|
|
(builtins.compareVersions "1.2.3" ".1.2.3")
|
|
(builtins.compareVersions "1.2.3" "1..2.3")
|
|
(builtins.compareVersions "1.2.3" "1.2.3.")
|
|
(builtins.compareVersions "1.2.3" "1.2")
|
|
(builtins.compareVersions "1.2.3" "1.2.a")
|
|
(builtins.compareVersions "1a.b" "1a.2")
|
|
(builtins.compareVersions "1" "")
|
|
]
|