home-manager/tests/lib/generators/toscfg-err-dir-empty-name.nix

13 lines
286 B
Nix
Raw Normal View History

2023-11-11 09:19:45 +00:00
{ 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}
'';
}