From c3f0a489f9d58878c211467a84d7db9dae4e8b5a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 4 Oct 2014 18:15:03 +0200 Subject: =?UTF-8?q?Add=20primop=20=E2=80=98catAttrs=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/lang/eval-okay-catattrs.exp | 1 + tests/lang/eval-okay-catattrs.nix | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/lang/eval-okay-catattrs.exp create mode 100644 tests/lang/eval-okay-catattrs.nix (limited to 'tests/lang') 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; } ] -- cgit v1.2.3