about summary refs log tree commit diff
path: root/tvix/eval/eval-okay-builtins-compareVersions.exp
diff options
context:
space:
mode:
authorThoFrank <thomas@franks-im-web.de>2022-09-17T07·23+0200
committerThomas Frank <thomas@franks-im-web.de>2022-09-17T14·48+0000
commitef80d00b06f3d90e37a94d65ce8c56062b19a43a (patch)
tree9fcf1c54a5b6d3b50248fea5383e0a01f5a97ad1 /tvix/eval/eval-okay-builtins-compareVersions.exp
parent1ee0f670b96de50c23f8b160993853af35e18038 (diff)
feat(tvix_eval): Support builtins.compareVersions r/4885
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
Diffstat (limited to 'tvix/eval/eval-okay-builtins-compareVersions.exp')
-rw-r--r--tvix/eval/eval-okay-builtins-compareVersions.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/eval-okay-builtins-compareVersions.exp b/tvix/eval/eval-okay-builtins-compareVersions.exp
new file mode 100644
index 000000000000..b4d1452f4d9c
--- /dev/null
+++ b/tvix/eval/eval-okay-builtins-compareVersions.exp
@@ -0,0 +1 @@
+[ 0 -1 -1 0 0 0 1 1 -1 1 ]
\ No newline at end of file