diff options
author | sterni <sternenseemann@systemli.org> | 2022-11-23T14·49+0100 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2022-11-24T13·25+0000 |
commit | bc537d2c0dcabe7324929e2fe2f310d4a9386095 (patch) | |
tree | 91112eaf5cf1306c47744b6f93fdcacb80385e09 /tvix/eval | |
parent | 467cb89145340226d5f7e92d38f2ddeef50c28d4 (diff) |
test(tvix/eval): test limits of builtins.seq's forcing r/5308
Change-Id: I6dfc9108220762ef3372cd2739e91d79c01a55e1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7366 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-seq.exp | 2 | ||||
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-seq.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-seq.exp b/tvix/eval/src/tests/tvix_tests/eval-okay-seq.exp index 0cfbf08886fc..d81cc0710eb6 100644 --- a/tvix/eval/src/tests/tvix_tests/eval-okay-seq.exp +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-seq.exp @@ -1 +1 @@ -2 +42 diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-seq.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-seq.nix index 0a9a21c03b62..fd0806c199a5 100644 --- a/tvix/eval/src/tests/tvix_tests/eval-okay-seq.nix +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-seq.nix @@ -1 +1 @@ -builtins.seq 1 2 +(builtins.seq 1 2) + (builtins.seq [ (throw "list") ] 20) + (builtins.seq { boing = throw "set"; } 20) |