mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
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.
This commit is contained in:
parent
3bc1bc4012
commit
4c08f65ab5
1 changed files with 1 additions and 14 deletions
|
@ -8,19 +8,6 @@
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
assertFileExists home-files/.config/broot/conf.toml
|
assertFileExists home-files/.config/broot/conf.toml
|
||||||
assertFileContent home-files/.config/broot/conf.toml ${
|
assertFileContains home-files/.config/broot/conf.toml 'modal = true'
|
||||||
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"
|
|
||||||
''
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue