Add test for readDir primop
This commit is contained in:
parent
3b5fa8d50c
commit
3fd2d2187e
1
tests/lang/eval-okay-readDir.exp
Normal file
1
tests/lang/eval-okay-readDir.exp
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{ bar = "regular"; foo = "directory"; }
|
1
tests/lang/eval-okay-readDir.nix
Normal file
1
tests/lang/eval-okay-readDir.nix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
builtins.readDir ./readDir
|
0
tests/lang/readDir/bar
Normal file
0
tests/lang/readDir/bar
Normal file
0
tests/lang/readDir/foo/git-hates-directories
Normal file
0
tests/lang/readDir/foo/git-hates-directories
Normal file
Loading…
Reference in a new issue