1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 19:59:47 +01:00
home-manager/tests/lib/generators/toscfg-err-dir-empty-name.nix

13 lines
286 B
Nix
Raw Normal View History

2023-11-11 10:19:45 +01: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}
'';
}