about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-nested-deferred-upvalue.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-nested-deferred-upvalue.nix')
-rw-r--r--tvix/eval/src/tests/tvix_tests/eval-okay-nested-deferred-upvalue.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-nested-deferred-upvalue.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-nested-deferred-upvalue.nix
index 358925e992c7..3fa1d3ed057c 100644
--- a/tvix/eval/src/tests/tvix_tests/eval-okay-nested-deferred-upvalue.nix
+++ b/tvix/eval/src/tests/tvix_tests/eval-okay-nested-deferred-upvalue.nix
@@ -1,6 +1,10 @@
 let
   doubler = n: outer n;
-  outer = let inner = n: a * n;
-            a = 2;
-          in inner;
-in doubler 10
+  outer =
+    let
+      inner = n: a * n;
+      a = 2;
+    in
+    inner;
+in
+doubler 10