diff --git a/tests/modules/programs/firefox/profiles/userchrome/chrome/extraFile.css b/tests/modules/programs/firefox/profiles/userchrome/chrome/extraFile.css new file mode 100644 index 000000000..17e84dfe4 --- /dev/null +++ b/tests/modules/programs/firefox/profiles/userchrome/chrome/extraFile.css @@ -0,0 +1,3 @@ +/* +* A file that might be imported from the main css +*/ diff --git a/tests/modules/programs/firefox/profiles/userchrome/default.nix b/tests/modules/programs/firefox/profiles/userchrome/default.nix index f1b1482b5..113a017af 100644 --- a/tests/modules/programs/firefox/profiles/userchrome/default.nix +++ b/tests/modules/programs/firefox/profiles/userchrome/default.nix @@ -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}