From 9c39ea4ccbfbd0077a799d01ba2aab632bededfa Mon Sep 17 00:00:00 2001 From: Stanislav Asunkin <1353637+stasjok@users.noreply.github.com> Date: Sun, 27 Apr 2025 14:01:37 +0300 Subject: [PATCH] tests/modules/performance/byte-compile-lua: fix tests telescope-nvim doesn't have explicit dependency on plenary-nvim anymore. Use noice-nvim which have a dependency on nui-nvim instead. --- .../modules/performance/byte-compile-lua.nix | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/tests/test-sources/modules/performance/byte-compile-lua.nix b/tests/test-sources/modules/performance/byte-compile-lua.nix index 5375425a..a3041a5e 100644 --- a/tests/test-sources/modules/performance/byte-compile-lua.nix +++ b/tests/test-sources/modules/performance/byte-compile-lua.nix @@ -248,8 +248,8 @@ in extraPlugins = with pkgs.vimPlugins; [ nvim-lspconfig - # Depends on plenary-nvim - telescope-nvim + # Depends on nui-nvim + noice-nvim # buildCommand plugin with python3 dependency ((pkgs.writeTextDir "/plugin/test.lua" "vim.opt.tabstop = 2").overrideAttrs { passthru.python3Dependencies = ps: [ ps.pyyaml ]; @@ -263,8 +263,8 @@ in -- Plugins are loadable require("lspconfig") - require("telescope") - require("plenary") + require("noice") + require("nui.popup") require("nvim-treesitter") -- Python modules are importable @@ -276,16 +276,13 @@ in test_rtp_file("plugin/lspconfig.lua", true) test_rtp_file("doc/lspconfig.txt", false) - -- telescope-nvim - test_rtp_file("lua/telescope/init.lua", true) - test_rtp_file("lua/telescope/builtin/init.lua", true) - test_rtp_file("plugin/telescope.lua", true) - test_rtp_file("autoload/health/telescope.vim", false) - test_rtp_file("doc/telescope.txt", false) + -- noice-nvim + test_rtp_file("lua/noice/init.lua", true) + test_rtp_file("lua/noice/config/init.lua", true) + test_rtp_file("doc/noice.nvim.txt", false) - -- Dependency of telescope-nvim (plenary-nvim) - test_rtp_file("lua/plenary/init.lua", true) - test_rtp_file("plugin/plenary.vim", false) + -- Dependency of noice-nvim (nui-nvim) + test_rtp_file("lua/nui/popup/init.lua", true) -- Test plugin test_rtp_file("plugin/test.lua", true)