From 07c347bb50994691d7b0095f45ebd8838cf6bc38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Tue, 27 Jun 2023 15:06:04 +0200 Subject: [PATCH] [23.05] broot: fix test (#4171) 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 b39929e3..17577f6f 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' ''; }