nix-community.nixvim/tests/test-sources/plugins/by-name/nvim-osc52/default.nix
Matt Sturgeon ae612f8249
tests: use warning-expectations options
Deprecated the old `test.check*` options.
2024-12-27 18:31:34 +00:00

33 lines
556 B
Nix

let
expect = expect: value: { inherit expect value; };
# This plugin is deprecated
warnings = [
(expect "count" 1)
(expect "any" "this plugin is obsolete and will be removed after 24.11.")
];
in
{
empty = {
plugins.nvim-osc52.enable = true;
test = { inherit warnings; };
};
defaults = {
plugins.nvim-osc52 = {
enable = true;
maxLength = 0;
silent = false;
trim = false;
keymaps = {
silent = false;
enable = true;
};
};
test = { inherit warnings; };
};
}