1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-05 01:19:46 +01:00
home-manager/tests/modules/programs/rofi/config-with-deprecated-options.nix

18 lines
392 B
Nix
Raw Normal View History

{ ... }:
{
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.
'')
];
}