diff options
Diffstat (limited to '')
-rw-r--r-- | tests/by-name/a/file.nix | 0 | ||||
-rw-r--r-- | tests/by-name/a/other.nix | 0 | ||||
-rw-r--r-- | tests/by-name/b/file.nix | 0 | ||||
-rw-r--r-- | tests/by-name/b/nothing.lix | 0 | ||||
-rw-r--r-- | tests/by-name/c/file.nix | 0 | ||||
-rw-r--r-- | tests/by-name/empty/file.other | 0 | ||||
-rw-r--r-- | tests/by-name/tripwire.test | 0 | ||||
-rw-r--r-- | tests/test.nix | 9 |
8 files changed, 9 insertions, 0 deletions
diff --git a/tests/by-name/a/file.nix b/tests/by-name/a/file.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/by-name/a/file.nix diff --git a/tests/by-name/a/other.nix b/tests/by-name/a/other.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/by-name/a/other.nix diff --git a/tests/by-name/b/file.nix b/tests/by-name/b/file.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/by-name/b/file.nix diff --git a/tests/by-name/b/nothing.lix b/tests/by-name/b/nothing.lix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/by-name/b/nothing.lix diff --git a/tests/by-name/c/file.nix b/tests/by-name/c/file.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/by-name/c/file.nix diff --git a/tests/by-name/empty/file.other b/tests/by-name/empty/file.other new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/by-name/empty/file.other diff --git a/tests/by-name/tripwire.test b/tests/by-name/tripwire.test new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/by-name/tripwire.test diff --git a/tests/test.nix b/tests/test.nix new file mode 100644 index 0000000..5ae7da8 --- /dev/null +++ b/tests/test.nix @@ -0,0 +1,9 @@ +let + nixLib = import ../default.nix {}; +in + nixLib.mkByName { + useShards = false; + baseDirectory = ./by-name; + # fileName = "file.nix"; + fileRegex = ".*\.nix"; + } |