mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-25 19:51:06 +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
|
let
|
||||||
module =
|
module =
|
||||||
{ lib, helpers, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
assertions = [
|
assertions = [
|
||||||
{
|
{
|
||||||
assertion = lib ? nixvim;
|
assertion = lib ? nixvim;
|
||||||
message = "lib.nixvim should be defined";
|
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
|
in
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue