mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
Add test for readDir primop
This commit is contained in:
parent
3b5fa8d50c
commit
3fd2d2187e
4 changed files with 2 additions and 0 deletions
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