1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

tests/neovim: fix expected config

Use normalized store paths to not have to maintain the hash

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-06-22 12:26:32 -05:00
parent a8e99a9608
commit 7c35504839
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
vim.cmd [[source /nix/store/szdyh45rf0rgiq35zgy5b3z99f8lx8f2-nvim-init-home-manager.vim]]
vim.cmd [[source /nix/store/00000000000000000000000000000000-nvim-init-home-manager.vim]]
function HM_PLUGIN_LUA_CONFIG ()
end

View file

@ -43,6 +43,6 @@ lib.mkIf config.test.enableBig {
assertFileContains "$vimout" "HM_PLUGINS_CONFIG"
initLua="$TESTED/home-files/.config/nvim/init.lua"
assertFileContent "$initLua" ${./plugin-config.expected}
assertFileContent $(normalizeStorePaths "$initLua") ${./plugin-config.expected}
'';
}