1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

[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.
This commit is contained in:
Naïm Favier 2023-06-27 15:06:04 +02:00 committed by GitHub
parent 6ca1e16eb3
commit 07c347bb50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'
'';
}