1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

tests/firefox: validate folder linking

Make sure we're linking all folder contents when a directory is
provided.
This commit is contained in:
Austin Horstman 2025-04-17 09:38:31 -05:00
parent baa2a0b3bd
commit 2c71aae678
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,3 @@
/*
* A file that might be imported from the main css
*/

View file

@ -48,14 +48,20 @@ in
assertDirectoryExists home-files/${cfg.configPath}/basic
assertFileNotExists \
home-files/${cfg.configPath}/lines/chrome/extraFile.css
assertFileContent \
home-files/${cfg.configPath}/lines/chrome/userChrome.css \
${./chrome/userChrome.css}
assertFileNotExists \
home-files/${cfg.configPath}/path/chrome/extraFile.css
assertFileContent \
home-files/${cfg.configPath}/path/chrome/userChrome.css \
${./chrome/userChrome.css}
assertFileExists \
home-files/${cfg.configPath}/folder/chrome/extraFile.css
assertFileContent \
home-files/${cfg.configPath}/folder/chrome/userChrome.css \
${./chrome/userChrome.css}