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:
parent
a8e99a9608
commit
7c35504839
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue