aboutsummaryrefslogtreecommitdiff
path: root/tests/lang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang')
-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; } ]