aboutsummaryrefslogtreecommitdiff
path: root/tests
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
parentd4fcbe1687c3d212966e43118341622cf69612f3 (diff)
Add primop ‘catAttrs’
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/eval-okay-catattrs.exp1
-rw-r--r--tests/lang/eval-okay-catattrs.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-catattrs.exp b/tests/lang/eval-okay-catattrs.exp
new file mode 100644
index 000000000..b4a1e66d6
--- /dev/null
+++ b/tests/lang/eval-okay-catattrs.exp
@@ -0,0 +1 @@
+[ 1 2 ]
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; } ]