From 4c08f65ab5105a55eed3fc9003f3e6874b69fe13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Tue, 27 Jun 2023 11:02:53 +0200 Subject: [PATCH] broot: fix test (#4170) We can't test for the whole contents of the config file because that is out of our control and may change unexpectedly. Only check for the settings we know should be set. --- tests/modules/programs/broot/broot.nix | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tests/modules/programs/broot/broot.nix b/tests/modules/programs/broot/broot.nix index b39929e36..17577f6f7 100644 --- a/tests/modules/programs/broot/broot.nix +++ b/tests/modules/programs/broot/broot.nix @@ -8,19 +8,6 @@ nmt.script = '' assertFileExists home-files/.config/broot/conf.toml - assertFileContent home-files/.config/broot/conf.toml ${ - builtins.toFile "broot.expected" '' - content_search_max_file_size = "10MB" - imports = ["verbs.hjson", {file = "dark-blue-skin.hjson", luma = ["dark", "unknown"]}, {file = "white-skin.hjson", luma = "light"}] - modal = true - show_selection_mark = true - verbs = [] - - [skin] - - [special_paths] - "/media" = "no-enter" - '' - } + assertFileContains home-files/.config/broot/conf.toml 'modal = true' ''; }