1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 08:49:44 +01:00
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.
'')
];
}