1
0
Fork 0
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:
Robert Helgesson 2025-01-24 22:30:50 +01:00
parent a042868557
commit b93e17c73c
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

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