aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-remove.nix
diff options
context:
space:
mode:
authorpiegames <git@piegames.de>2024-08-18 17:28:04 +0200
committerpiegames <git@piegames.de>2024-08-21 06:55:52 +0000
commit0a8888d1c7220eddba40895a9c6c63d06edf4614 (patch)
treea2400fb5880129a0a82225038c59611ed8da90ff /tests/functional/lang/eval-okay-remove.nix
parent7210ed1b87410a0df597c0c4efe642bf82cc2b06 (diff)
treewide: Stop using ancient let syntax
Shows for how long these tests have not been touched by anyone … Change-Id: I3d0c1209a86283ddb012db4e7d45073264fdd0eb
Diffstat (limited to 'tests/functional/lang/eval-okay-remove.nix')
-rw-r--r--tests/functional/lang/eval-okay-remove.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/functional/lang/eval-okay-remove.nix b/tests/functional/lang/eval-okay-remove.nix
index 4ad5ba897..c2e06b3d2 100644
--- a/tests/functional/lang/eval-okay-remove.nix
+++ b/tests/functional/lang/eval-okay-remove.nix
@@ -1,5 +1,4 @@
-let {
+let
attrs = {x = 123; y = 456;};
-
- body = (removeAttrs attrs ["x"]).y;
-} \ No newline at end of file
+in
+(removeAttrs attrs ["x"]).y