about summary refs log tree commit diff
path: root/third_party/nix/tests/lang/eval-okay-attrs2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/tests/lang/eval-okay-attrs2.nix')
-rw-r--r--third_party/nix/tests/lang/eval-okay-attrs2.nix10
1 files changed, 0 insertions, 10 deletions
diff --git a/third_party/nix/tests/lang/eval-okay-attrs2.nix b/third_party/nix/tests/lang/eval-okay-attrs2.nix
deleted file mode 100644
index 9e06b83ac1fd..000000000000
--- a/third_party/nix/tests/lang/eval-okay-attrs2.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-let {
-  as = { x = 123; y = 456; } // { z = 789; } // { z = 987; };
-
-  A = "a";
-  Z = "z";
-
-  body = if builtins.hasAttr A as
-         then builtins.getAttr A as
-         else assert builtins.hasAttr Z as; builtins.getAttr Z as;
-}