mirror of
https://github.com/nix-community/home-manager
synced 2025-02-06 00:05:05 +01:00
neovim: fix flaky test
Seems the nvim command sometimes fails with error code 1.
This commit is contained in:
parent
a042868557
commit
b93e17c73c
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ with lib;
|
|||
vimout=$(mktemp)
|
||||
echo "redir >> /dev/stdout | echo g:hmExtraConfig | echo g:hmPlugins | redir END" \
|
||||
| ${pkgs.neovim}/bin/nvim -es -u "$TESTED/home-files/.config/nvim/init.lua" \
|
||||
> "$vimout"
|
||||
> "$vimout" || true
|
||||
assertFileContains "$vimout" "HM_EXTRA_CONFIG"
|
||||
assertFileContains "$vimout" "HM_PLUGINS_CONFIG"
|
||||
'';
|
||||
|
|
Loading…
Add table
Reference in a new issue