mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-22 18:29:40 +01:00
lib/evalNixvim: deprecate specialArgs.helpers
This has been soft-deprecated for several releases. Now that we have removed our internal usage, we can introduce an eval warning.
This commit is contained in:
parent
dad19c1238
commit
82bc02466c
3 changed files with 9 additions and 2 deletions
|
|
@ -20,6 +20,7 @@ let
|
|||
message = "Expected lib.nixvim.enableExceptInTests to be true";
|
||||
}
|
||||
{
|
||||
# NOTE: evaluating `helpers` here prints an eval warning
|
||||
assertion = !helpers.enableExceptInTests;
|
||||
message = "Expected helpers.enableExceptInTests to be false";
|
||||
}
|
||||
|
|
@ -40,6 +41,7 @@ let
|
|||
message = "Expected lib.nixvim.enableExceptInTests to be true";
|
||||
}
|
||||
{
|
||||
# NOTE: evaluating `helpers` here prints an eval warning
|
||||
assertion = helpers.enableExceptInTests;
|
||||
message = "Expected helpers.enableExceptInTests to be true";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue