tests/lib: fix and update tests

This commit is contained in:
Gabriel Arazas 2024-07-14 11:15:27 +08:00
parent 8138f70d44
commit ea8174383c
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 3 additions and 8 deletions

View File

@ -9,9 +9,9 @@ let
callLib = file: import file { inherit pkgs lib; self = prev; }; callLib = file: import file { inherit pkgs lib; self = prev; };
in in
{ {
nixos = callLib ../../lib/nixos.nix; nixos = callLib ../../lib/env-specific/nixos.nix;
home-manager = callLib ../../lib/home-manager.nix; home-manager = callLib ../../lib/env-specific/home-manager.nix;
nixvim = callLib ../../lib/nixvim.nix; nixvim = callLib ../../lib/env-specific/nixvim.nix;
}); });
callLib = file: import file { inherit pkgs lib; self = foodogsquaredLib; }; callLib = file: import file { inherit pkgs lib; self = foodogsquaredLib; };

View File

@ -12,9 +12,4 @@ lib.runTests {
}; };
expected = 2; expected = 2;
}; };
testGetConfig = {
expr = self.trivial.getConfig "home-manager" "foo-dogsquared";
expected = ../../configs/home-manager/foo-dogsquared;
};
} }