tests/riff: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
b695586f92
commit
7522ba8a0c
4 changed files with 69 additions and 0 deletions
13
tests/modules/programs/riff/riff-basic.nix
Normal file
13
tests/modules/programs/riff/riff-basic.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
programs.riff = {
|
||||
enable = true;
|
||||
commandLineOptions = [ "--no-adds-only-special" ];
|
||||
};
|
||||
programs.git.enable = true;
|
||||
|
||||
nmt.script = ''
|
||||
# Git config should NOT contain riff configuration since enableGitIntegration is false by default
|
||||
assertFileNotRegex home-files/.config/git/config '\[pager\]'
|
||||
assertFileNotRegex home-files/.config/git/config 'diff = riff'
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue