tests/fetch-test: tweak signature

This commit is contained in:
Matt Sturgeon 2024-09-07 17:36:50 +01:00
parent d12045e057
commit ce4c3a72c1
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
2 changed files with 3 additions and 7 deletions

View file

@ -5,7 +5,7 @@
pkgsUnfree,
}:
let
fetchTests = import ./fetch-tests.nix;
fetchTests = import ./fetch-tests.nix { inherit lib pkgs helpers; };
test-derivation = import ../lib/tests.nix { inherit pkgs lib; };
inherit (test-derivation) mkTestDerivationFromNixvimModule;
@ -17,10 +17,7 @@ let
};
# List of files containing configurations
testFiles = fetchTests {
inherit lib pkgs helpers;
root = ./test-sources;
};
testFiles = fetchTests ./test-sources;
exampleFiles = {
name = "examples";

View file

@ -1,5 +1,4 @@
{
root,
lib,
pkgs,
helpers,
@ -49,4 +48,4 @@ let
builtins.concatLists
];
in
fetchTests root [ ]
root: fetchTests root [ ]