From baa2a0b3bd23de23ba23f50508e44e9d77819ec2 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 17 Apr 2025 09:26:20 -0500 Subject: [PATCH] tests/firefox: consolidate userChrome.css test files Not sure why I had two of them.. --- .../programs/firefox/profiles/userchrome/default.nix | 6 +++--- .../firefox/profiles/userchrome/expected-userchrome.css | 9 --------- 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 tests/modules/programs/firefox/profiles/userchrome/expected-userchrome.css diff --git a/tests/modules/programs/firefox/profiles/userchrome/default.nix b/tests/modules/programs/firefox/profiles/userchrome/default.nix index a174f3ce..f1b1482b 100644 --- a/tests/modules/programs/firefox/profiles/userchrome/default.nix +++ b/tests/modules/programs/firefox/profiles/userchrome/default.nix @@ -50,15 +50,15 @@ in assertFileContent \ home-files/${cfg.configPath}/lines/chrome/userChrome.css \ - ${./expected-userchrome.css} + ${./chrome/userChrome.css} assertFileContent \ home-files/${cfg.configPath}/path/chrome/userChrome.css \ - ${./expected-userchrome.css} + ${./chrome/userChrome.css} assertFileContent \ home-files/${cfg.configPath}/folder/chrome/userChrome.css \ - ${./expected-userchrome.css} + ${./chrome/userChrome.css} ''; } ); diff --git a/tests/modules/programs/firefox/profiles/userchrome/expected-userchrome.css b/tests/modules/programs/firefox/profiles/userchrome/expected-userchrome.css deleted file mode 100644 index bc84d62b..00000000 --- a/tests/modules/programs/firefox/profiles/userchrome/expected-userchrome.css +++ /dev/null @@ -1,9 +0,0 @@ -/* - This is a simple comment that should be written inside the `chrome/userChrome.css` -*/ - -#urlbar { - min-width: none !important; - border: none !important; - outline: none !important; -}