home-manager/tests/modules/programs/rofi/config-with-deprecated-options.nix
2021-10-13 01:31:12 +02:00

17 lines
392 B
Nix

{ ... }:
{
programs.rofi = {
enable = true;
colors = { };
};
test.stubs.rofi = { };
test.asserts.assertions.expected = [
(let offendingFile = toString ./config-with-deprecated-options.nix;
in ''
The option definition `programs.rofi.colors' in `${offendingFile}' no longer has any effect; please remove it.
Please use a Rofi theme instead.
'')
];
}