tests: reduce closure sizes

This commit is contained in:
Robert Helgesson 2024-02-03 19:39:45 +01:00 committed by GitHub
parent 880d9bc211
commit 1ca210648a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 98 additions and 64 deletions

View file

@ -11,10 +11,14 @@
programs.beets = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@beets@"; };
mpdIntegration.enableStats = true;
};
test.stubs = {
beets = { };
mpd = { };
};
nmt.script = ''
assertFileExists home-files/.config/beets/config.yaml
assertFileContent \