depot/third_party/home-manager/tests/modules/programs/neomutt/neomutt-with-binds-invalid-settings.nix
Default email a0869759be Project import generated by Copybara.
GitOrigin-RevId: ac319fd3149b23a3ad8ee24cb2def6e67acf194c
2021-07-03 00:36:30 +02:00

27 lines
496 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.neomutt = {
enable = true;
binds = [{
action = "complete-query";
key = "<Tab>";
map = [ ];
}];
macros = [{
action = "<change-folder>?<change-dir><home>^K=<enter><tab>";
key = "c";
map = [ ];
}];
};
test.asserts.assertions.expected = [
"The 'programs.neomutt.(binds|macros).map' list must contain at least one element."
];
};
}