aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-okay-catattrs.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-10-04 18:15:03 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-10-04 18:15:03 +0200
commitc3f0a489f9d58878c211467a84d7db9dae4e8b5a (patch)
treea5850a431b481a88512a09db78efaa05d8d4c870 /tests/lang/eval-okay-catattrs.nix
parentd4fcbe1687c3d212966e43118341622cf69612f3 (diff)
Add primop ‘catAttrs’
Diffstat (limited to 'tests/lang/eval-okay-catattrs.nix')
-rw-r--r--tests/lang/eval-okay-catattrs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-catattrs.nix b/tests/lang/eval-okay-catattrs.nix
new file mode 100644
index 000000000..2c3dc10da
--- /dev/null
+++ b/tests/lang/eval-okay-catattrs.nix
@@ -0,0 +1 @@
+builtins.catAttrs "a" [ { a = 1; } { b = 0; } { a = 2; } ]