about summary refs log tree commit diff
path: root/third_party/nix/tests/lang/eval-okay-attrnames.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/tests/lang/eval-okay-attrnames.nix')
-rw-r--r--third_party/nix/tests/lang/eval-okay-attrnames.nix11
1 files changed, 0 insertions, 11 deletions
diff --git a/third_party/nix/tests/lang/eval-okay-attrnames.nix b/third_party/nix/tests/lang/eval-okay-attrnames.nix
deleted file mode 100644
index e5b26e9f2e39..000000000000
--- a/third_party/nix/tests/lang/eval-okay-attrnames.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-with import ./lib.nix;
-
-let
-
-  attrs = {y = "y"; x = "x"; foo = "foo";} // rec {x = "newx"; bar = x;};
-
-  names = builtins.attrNames attrs;
-
-  values = map (name: builtins.getAttr name attrs) names;
-
-in assert values == builtins.attrValues attrs; concat values