mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 08:34:41 +02:00
tests: remove special treatment of module
Since we no longer need to extract `tests.dontRun` from an attrset, we no longer need the "special" `module` attr.
This commit is contained in:
parent
7b2a6cd9e6
commit
123a55ed6f
14 changed files with 266 additions and 285 deletions
|
@ -64,7 +64,7 @@ let
|
|||
{ namespace, cases }:
|
||||
{
|
||||
name = lib.strings.concatStringsSep "-" namespace;
|
||||
cases = lib.mapAttrsToList (name: case: { inherit case name; }) cases;
|
||||
cases = lib.mapAttrsToList (name: module: { inherit module name; }) cases;
|
||||
};
|
||||
in
|
||||
# A list of the form [ { name = "..."; modules = [ /* test cases */ ]; } ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue