diff options
author | Shea Levy <shea@shealevy.com> | 2014-10-01 09:40:45 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-10-03 22:32:11 +0200 |
commit | 3fd2d2187efcb0d7c7fe7ebdc2baa14edfac6d0c (patch) | |
tree | 40130627ac7ff4fa55f8a358bcedd7797c37b889 /tests | |
parent | 3b5fa8d50cd7e4db0691884effcbdc7809ad9ed9 (diff) |
Add test for readDir primop
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lang/eval-okay-readDir.exp | 1 | ||||
-rw-r--r-- | tests/lang/eval-okay-readDir.nix | 1 | ||||
-rw-r--r-- | tests/lang/readDir/bar | 0 | ||||
-rw-r--r-- | tests/lang/readDir/foo/git-hates-directories | 0 |
4 files changed, 2 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-readDir.exp b/tests/lang/eval-okay-readDir.exp new file mode 100644 index 000000000..bf8d2c14e --- /dev/null +++ b/tests/lang/eval-okay-readDir.exp @@ -0,0 +1 @@ +{ bar = "regular"; foo = "directory"; } diff --git a/tests/lang/eval-okay-readDir.nix b/tests/lang/eval-okay-readDir.nix new file mode 100644 index 000000000..a7ec9292a --- /dev/null +++ b/tests/lang/eval-okay-readDir.nix @@ -0,0 +1 @@ +builtins.readDir ./readDir diff --git a/tests/lang/readDir/bar b/tests/lang/readDir/bar new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/lang/readDir/bar diff --git a/tests/lang/readDir/foo/git-hates-directories b/tests/lang/readDir/foo/git-hates-directories new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/lang/readDir/foo/git-hates-directories |