test(tvix/eval): add test cases for builtins.splitVersion
Change-Id: I60648f6c5cea34d19afb5ced3e98051201190a78 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6711 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
834fe833e5
commit
e9e06b8bae
2 changed files with 14 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
[ [ "1" "2" "3" ] [ "2" "3" "16" ] [ "22" "11" "pre" "408963" "823" "e" "2" "c" "9" "b" "0" "a" "0" ] [ "9" "4" "1" "rc" "1" ] [ "9" "4" "0" "20220721" ] [ "0" "1" "alpha" ] [ "unstable" "2022" "09" "20" ] [ "30" "pre" "9" ] [ "0" "pre+date=" "2021" "11" "30" ] [ "1" "2" "0" "_pre" "23" ] [ "0" "1" "0" "pre" "71" "_" "170" "f" "840" ] ]
|
|
@ -0,0 +1,13 @@
|
||||||
|
[
|
||||||
|
(builtins.splitVersion "1.2.3")
|
||||||
|
(builtins.splitVersion "2.3.16")
|
||||||
|
(builtins.splitVersion "22.11pre408963.823e2c9b0a0")
|
||||||
|
(builtins.splitVersion "9.4.1-rc1")
|
||||||
|
(builtins.splitVersion "9.4.0.20220721")
|
||||||
|
(builtins.splitVersion "0.1-alpha")
|
||||||
|
(builtins.splitVersion "unstable-2022-09-20")
|
||||||
|
(builtins.splitVersion "30.pre9")
|
||||||
|
(builtins.splitVersion "0.pre+date=2021-11-30")
|
||||||
|
(builtins.splitVersion "1.2.0_pre23")
|
||||||
|
(builtins.splitVersion "0.1.0pre71_170f840")
|
||||||
|
]
|
Loading…
Reference in a new issue