about summary refs log tree commit diff
path: root/nix/readTree/tests/test-marker/file-children
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-09-30T12·46+0200
committersterni <sternenseemann@systemli.org>2021-10-05T13·25+0000
commit9dae5acf6440dce30d61e8c3588f703088a64b0a (patch)
treea286be96c11bcd1fcebbe7e7533cebd5b84adce0 /nix/readTree/tests/test-marker/file-children
parent348cf5ae73edecbfe2f6e72dcddc837b5f8db1f4 (diff)
test(nix/readTree): test marking behavior of readTree r/2950
This ensures in a simple example that __readTree and __readTreeChildren
are populated correctly.

Change-Id: I69a46b2ddde0d1f9bf0dff1c4780f033ac8fc27a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3655
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'nix/readTree/tests/test-marker/file-children')
-rw-r--r--nix/readTree/tests/test-marker/file-children/one.nix3
-rw-r--r--nix/readTree/tests/test-marker/file-children/two.nix3
2 files changed, 6 insertions, 0 deletions
diff --git a/nix/readTree/tests/test-marker/file-children/one.nix b/nix/readTree/tests/test-marker/file-children/one.nix
new file mode 100644
index 000000000000..a3f961128e79
--- /dev/null
+++ b/nix/readTree/tests/test-marker/file-children/one.nix
@@ -0,0 +1,3 @@
+{ ... }:
+
+{}
diff --git a/nix/readTree/tests/test-marker/file-children/two.nix b/nix/readTree/tests/test-marker/file-children/two.nix
new file mode 100644
index 000000000000..a3f961128e79
--- /dev/null
+++ b/nix/readTree/tests/test-marker/file-children/two.nix
@@ -0,0 +1,3 @@
+{ ... }:
+
+{}