fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Thiago Kenji Okadarofi: add test case for config with deprecated optionsb22004bf

master
392 B17 linesraw
1{ ... }:
2
3{
4  programs.rofi = {
5    enable = true;
6    colors = { };
7  };
8
9  test.stubs.rofi = { };
10  test.asserts.assertions.expected = [
11    (let offendingFile = toString ./config-with-deprecated-options.nix;
12    in ''
13      The option definition `programs.rofi.colors' in `${offendingFile}' no longer has any effect; please remove it.
14      Please use a Rofi theme instead.
15    '')
16  ];
17}