mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-30 16:10:45 +00:00
tests/patdiff: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
11
tests/modules/programs/patdiff/patdiff-basic.nix
Normal file
11
tests/modules/programs/patdiff/patdiff-basic.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
programs.patdiff = {
|
||||
enable = true;
|
||||
};
|
||||
programs.git.enable = true;
|
||||
|
||||
nmt.script = ''
|
||||
# Git config should NOT contain patdiff configuration since enableGitIntegration is false by default
|
||||
assertFileNotRegex home-files/.config/git/config 'external = .*/patdiff-git-wrapper'
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user