mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-27 12:41:03 +01:00
tests/fetch-tests: drop helpers arg
Don't supply `helpers` to test module files.
This commit is contained in:
parent
1d345d4b25
commit
12fd9ee1c8
1 changed files with 1 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
helpers,
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
# Import a test file into the form { name = ""; file = ""; cases = {}; }
|
# Import a test file into the form { name = ""; file = ""; cases = {}; }
|
||||||
|
|
@ -16,7 +15,7 @@ let
|
||||||
cases =
|
cases =
|
||||||
if builtins.isFunction fnOrAttrs then
|
if builtins.isFunction fnOrAttrs then
|
||||||
# Call the function
|
# Call the function
|
||||||
fnOrAttrs { inherit pkgs lib helpers; }
|
fnOrAttrs { inherit pkgs lib; }
|
||||||
else
|
else
|
||||||
fnOrAttrs;
|
fnOrAttrs;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue