2.home-manager/tests/modules/programs/pistol/missing-association.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

14 lines
308 B
Nix

{
programs.pistol = {
enable = true;
# contains no fpath or mime value
associations = [ { command = "bat %pistol-filename%"; } ];
};
test.asserts.assertions.expected = [
''
Each entry in programs.pistol.associations must contain exactly one
of fpath or mime.
''
];
}