nixos-config/subprojects/wrapper-manager-fds/tests/lib/utils.nix

26 lines
424 B
Nix
Raw Normal View History

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