home-manager/tests/lib/generators/toscfg-err-dir-empty-name.nix
2024-03-15 11:42:17 +01:00

12 lines
286 B
Nix

{ config, lib, ... }:
{
home.file."toscfg-err-dir-empty-name-result.txt".text =
lib.hm.generators.toSCFG { } { "" = [ ]; };
nmt.script = ''
assertFileContent \
home-files/toscfg-err-dir-empty-name-result.txt \
${./toscfg-err-dir-empty-name-result.txt}
'';
}