mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
tests/lib: fix and update tests
This commit is contained in:
parent
8138f70d44
commit
ea8174383c
@ -9,9 +9,9 @@ let
|
||||
callLib = file: import file { inherit pkgs lib; self = prev; };
|
||||
in
|
||||
{
|
||||
nixos = callLib ../../lib/nixos.nix;
|
||||
home-manager = callLib ../../lib/home-manager.nix;
|
||||
nixvim = callLib ../../lib/nixvim.nix;
|
||||
nixos = callLib ../../lib/env-specific/nixos.nix;
|
||||
home-manager = callLib ../../lib/env-specific/home-manager.nix;
|
||||
nixvim = callLib ../../lib/env-specific/nixvim.nix;
|
||||
});
|
||||
|
||||
callLib = file: import file { inherit pkgs lib; self = foodogsquaredLib; };
|
||||
|
@ -12,9 +12,4 @@ lib.runTests {
|
||||
};
|
||||
expected = 2;
|
||||
};
|
||||
|
||||
testGetConfig = {
|
||||
expr = self.trivial.getConfig "home-manager" "foo-dogsquared";
|
||||
expected = ../../configs/home-manager/foo-dogsquared;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user