mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-01 12:54:30 +02:00
tests: use warning-expectations options
Deprecated the old `test.check*` options.
This commit is contained in:
parent
24e3b11b23
commit
ae612f8249
3 changed files with 26 additions and 10 deletions
|
@ -1,13 +1,20 @@
|
|||
let
|
||||
expect = expect: value: { inherit expect value; };
|
||||
|
||||
# This plugin is deprecated
|
||||
warnings = [
|
||||
(expect "count" 1)
|
||||
(expect "any" "The `rust-tools` project has been abandoned.")
|
||||
];
|
||||
in
|
||||
{
|
||||
empty = {
|
||||
# Plugin deprecated
|
||||
test.checkWarnings = false;
|
||||
test = { inherit warnings; };
|
||||
plugins.rust-tools.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
# Plugin deprecated
|
||||
test.checkWarnings = false;
|
||||
test = { inherit warnings; };
|
||||
plugins.rust-tools = {
|
||||
enable = true;
|
||||
executor = "termopen";
|
||||
|
@ -77,8 +84,7 @@
|
|||
};
|
||||
|
||||
rust-analyzer-options = {
|
||||
# Plugin deprecated
|
||||
test.checkWarnings = false;
|
||||
test = { inherit warnings; };
|
||||
plugins.rust-tools = {
|
||||
enable = true;
|
||||
server = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue