diff options
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-thunked-if.nix')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-thunked-if.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-thunked-if.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-thunked-if.nix index 65e9e66d74dc..3810ebe78450 100644 --- a/tvix/eval/src/tests/tvix_tests/eval-okay-thunked-if.nix +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-thunked-if.nix @@ -1,6 +1,8 @@ let - a = {}; -in let + a = { }; +in +let c = if builtins.isFunction a then a b else a; - b = {}; -in c + b = { }; +in +c |