From 5da7ee9e8a7e3e790963b52f6427027a8823d75a Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sat, 30 Jan 2021 07:40:33 +0100 Subject: feat(nix/readTree): add tests of the traversal logic in README This should closely match the documented behaviour. It might still be missing some edge cases of course. Change-Id: I5c75fa045d5f3be8cf5eab787a02644500c14522 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2466 Reviewed-by: tazjin Tested-by: BuildkiteCI --- nix/readTree/tests/test-tree-traversal/default-nix/subdir/a.nix | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 nix/readTree/tests/test-tree-traversal/default-nix/subdir/a.nix (limited to 'nix/readTree/tests/test-tree-traversal/default-nix/subdir') diff --git a/nix/readTree/tests/test-tree-traversal/default-nix/subdir/a.nix b/nix/readTree/tests/test-tree-traversal/default-nix/subdir/a.nix new file mode 100644 index 000000000000..cf0ac2c8f3cf --- /dev/null +++ b/nix/readTree/tests/test-tree-traversal/default-nix/subdir/a.nix @@ -0,0 +1,3 @@ +{ ... }: + +"but I’m picked up" -- cgit 1.4.1