mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
modules/test: hide the deprecated check*
options
This commit is contained in:
parent
60e88b870c
commit
fc9176c75b
1 changed files with 4 additions and 2 deletions
|
@ -100,17 +100,19 @@ in
|
|||
|
||||
checkWarnings = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
description = "Whether to check `config.warnings` in the test.";
|
||||
description = "Whether to check `config.warnings` in the test. (deprecated)";
|
||||
apply = x: lib.warnIfNot x "`test.checkWarnings = false` is replaced with `test.warnings = [ ]`." x;
|
||||
default = true;
|
||||
visible = false;
|
||||
};
|
||||
|
||||
checkAssertions = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
description = "Whether to check `config.assertions` in the test.";
|
||||
description = "Whether to check `config.assertions` in the test. (deprecated)";
|
||||
apply =
|
||||
x: lib.warnIfNot x "`test.checkAssertions = false` is replaced with `test.assertions = [ ]`." x;
|
||||
default = true;
|
||||
visible = false;
|
||||
};
|
||||
|
||||
warnings = lib.mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue