mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-25 03:39:40 +01:00
tests/extended-lib: omit helpers
This commit is contained in:
parent
ecb843b614
commit
d6e9b258da
1 changed files with 1 additions and 6 deletions
|
|
@ -1,17 +1,12 @@
|
|||
let
|
||||
module =
|
||||
{ lib, helpers, ... }:
|
||||
{ lib, ... }:
|
||||
{
|
||||
assertions = [
|
||||
{
|
||||
assertion = lib ? nixvim;
|
||||
message = "lib.nixvim should be defined";
|
||||
}
|
||||
{
|
||||
# NOTE: evaluating `helpers` here prints an eval warning
|
||||
assertion = builtins.attrNames lib.nixvim == builtins.attrNames helpers;
|
||||
message = "lib.nixvim and helpers should be aliases";
|
||||
}
|
||||
];
|
||||
};
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue