nix-module-wrapper-manager-fds/tests/lib/utils.nix

26 lines
428 B
Nix

{ pkgs, lib, self }:
lib.runTests {
testsUtilsGetBin = {
expr = self.utils.getBin [
../modules
../../modules
];
expected = [
(lib.getBin ../modules)
(lib.getBin ../../modules)
];
};
testsUtilsGetLibexec = {
expr = self.utils.getLibexec [
../modules
../../modules
];
expected = [
"${../modules}/libexec"
"${../../modules}/libexec"
];
};
}