Skip to content

Commit 9c39ea4

Browse files
committed
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.
1 parent 014b143 commit 9c39ea4

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

tests/test-sources/modules/performance/byte-compile-lua.nix

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ in
248248

249249
extraPlugins = with pkgs.vimPlugins; [
250250
nvim-lspconfig
251-
# Depends on plenary-nvim
252-
telescope-nvim
251+
# Depends on nui-nvim
252+
noice-nvim
253253
# buildCommand plugin with python3 dependency
254254
((pkgs.writeTextDir "/plugin/test.lua" "vim.opt.tabstop = 2").overrideAttrs {
255255
passthru.python3Dependencies = ps: [ ps.pyyaml ];
@@ -263,8 +263,8 @@ in
263263
264264
-- Plugins are loadable
265265
require("lspconfig")
266-
require("telescope")
267-
require("plenary")
266+
require("noice")
267+
require("nui.popup")
268268
require("nvim-treesitter")
269269
270270
-- Python modules are importable
@@ -276,16 +276,13 @@ in
276276
test_rtp_file("plugin/lspconfig.lua", true)
277277
test_rtp_file("doc/lspconfig.txt", false)
278278
279-
-- telescope-nvim
280-
test_rtp_file("lua/telescope/init.lua", true)
281-
test_rtp_file("lua/telescope/builtin/init.lua", true)
282-
test_rtp_file("plugin/telescope.lua", true)
283-
test_rtp_file("autoload/health/telescope.vim", false)
284-
test_rtp_file("doc/telescope.txt", false)
279+
-- noice-nvim
280+
test_rtp_file("lua/noice/init.lua", true)
281+
test_rtp_file("lua/noice/config/init.lua", true)
282+
test_rtp_file("doc/noice.nvim.txt", false)
285283
286-
-- Dependency of telescope-nvim (plenary-nvim)
287-
test_rtp_file("lua/plenary/init.lua", true)
288-
test_rtp_file("plugin/plenary.vim", false)
284+
-- Dependency of noice-nvim (nui-nvim)
285+
test_rtp_file("lua/nui/popup/init.lua", true)
289286
290287
-- Test plugin
291288
test_rtp_file("plugin/test.lua", true)

0 commit comments

Comments
 (0)