mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-27 20:51:05 +01:00
tests/fetch-tests: only apply required args
Using `functionArgs` and `intersectAttrs`, apply only the required args to test module files.
This commit is contained in:
parent
12fd9ee1c8
commit
824e048096
67 changed files with 71 additions and 77 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs }:
|
||||
{
|
||||
example-with-str = {
|
||||
clipboard = {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{ lib, pkgs }:
|
||||
let
|
||||
inherit (pkgs.stdenv) hostPlatform;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, ... }:
|
||||
{ lib }:
|
||||
{
|
||||
example = {
|
||||
keymaps = [
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ lib, pkgs }:
|
||||
let
|
||||
pluginStubs = pkgs.callPackage ../../../utils/plugin-stubs.nix { };
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ lib, pkgs }:
|
||||
let
|
||||
pluginStubs = pkgs.callPackage ../../../utils/plugin-stubs.nix { };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue