1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-25 11:49:40 +01:00

tests/extended-lib: omit helpers

This commit is contained in:
Matt Sturgeon 2025-11-24 09:31:31 +00:00
parent ecb843b614
commit d6e9b258da

View file

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