diff options
author | sterni <sternenseemann@systemli.org> | 2022-09-20T10·52+0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2022-09-21T13·08+0000 |
commit | e9e06b8bae9b4f55ace0e8e6b6ae5e77de4c8e71 (patch) | |
tree | ce32714ced61b46e1dc9f5e51461c8d58f7227f7 /tvix/eval/src/tests/tvix_tests/eval-okay-builtins-splitVersion.nix | |
parent | 834fe833e5dc1df6838cfa69c24a6f3b3c7a5c5b (diff) |
test(tvix/eval): add test cases for builtins.splitVersion r/4948
Change-Id: I60648f6c5cea34d19afb5ced3e98051201190a78 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6711 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-builtins-splitVersion.nix')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-builtins-splitVersion.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-splitVersion.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-splitVersion.nix new file mode 100644 index 000000000000..4083e86714fc --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-splitVersion.nix @@ -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") +] |