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

View file

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