From ea8174383c2c2138e0e905d82f17212b4c72f62e Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 14 Jul 2024 11:15:27 +0800 Subject: [PATCH] tests/lib: fix and update tests --- tests/lib/default.nix | 6 +++--- tests/lib/trivial.nix | 5 ----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tests/lib/default.nix b/tests/lib/default.nix index 69865906..89a7e7f5 100644 --- a/tests/lib/default.nix +++ b/tests/lib/default.nix @@ -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; }; diff --git a/tests/lib/trivial.nix b/tests/lib/trivial.nix index 1248bcbc..bf62c6c7 100644 --- a/tests/lib/trivial.nix +++ b/tests/lib/trivial.nix @@ -12,9 +12,4 @@ lib.runTests { }; expected = 2; }; - - testGetConfig = { - expr = self.trivial.getConfig "home-manager" "foo-dogsquared"; - expected = ../../configs/home-manager/foo-dogsquared; - }; }