mirror of
https://github.com/nix-community/home-manager
synced 2024-09-19 04:47:29 +02:00
ef4370bedc
By default tests are expected to produce no assertion. This also updates the existing tests to match.
27 lines
532 B
Nix
27 lines
532 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.rofi = {
|
|
enable = true;
|
|
theme = "foo";
|
|
colors = {
|
|
window = {
|
|
background = "background";
|
|
border = "border";
|
|
separator = "separator";
|
|
};
|
|
rows = { };
|
|
};
|
|
};
|
|
|
|
nixpkgs.overlays =
|
|
[ (self: super: { rofi = pkgs.writeScriptBin "dummy-rofi" ""; }) ];
|
|
|
|
test.asserts.assertions.expected = [''
|
|
Cannot use the rofi options 'theme' and 'colors' simultaneously.
|
|
''];
|
|
};
|
|
}
|