1
0
Fork 0
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:
Matt Sturgeon 2025-11-24 08:03:00 +00:00
parent 1d345d4b25
commit 12fd9ee1c8

View file

@ -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;
}; };