Add test for readDir primop
This commit is contained in:
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
Reference in New Issue
Block a user