about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-let-inherit.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-let-inherit.nix')
-rw-r--r--tvix/eval/src/tests/tvix_tests/eval-okay-let-inherit.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-let-inherit.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-let-inherit.nix
index 4ec270e3bf43..3aa7c0f8d29c 100644
--- a/tvix/eval/src/tests/tvix_tests/eval-okay-let-inherit.nix
+++ b/tvix/eval/src/tests/tvix_tests/eval-okay-let-inherit.nix
@@ -3,10 +3,11 @@ let
     a = 1;
   };
 in
-  let
-    set2 = {
-      b = 1;
-    };
-    inherit (set) a;
-    inherit (set2) b;
-  in a + b
+let
+  set2 = {
+    b = 1;
+  };
+  inherit (set) a;
+  inherit (set2) b;
+in
+a + b