about summary refs log tree commit diff
path: root/tvix/eval/eval-okay-builtins-compareVersions.nix
blob: 769de79ad583ed740e1ee10a32305f512e6dca93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
[
  (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" "")
]