Skip to content

Commit 3f00cec

Browse files
chore(tests): Replace plenary with plenary-busted
1 parent b1952f7 commit 3f00cec

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

tests/minimal_init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
vim.g.loaded_netrwPlugin = 1
12
local M = {}
23
---
34
---@class OrgMinPlugin A plugin to download and register on the package path
@@ -81,7 +82,7 @@ function M.setup(plugins)
8182
end
8283

8384
M.setup({
84-
plenary = 'https://github.com/nvim-lua/plenary.nvim.git',
85+
plenary = 'https://github.com/monkoose/plenary-busted',
8586
})
8687
-- WARN: Do all plugin setup, test runs, reproductions, etc. AFTER calling setup with a list of plugins!
8788
-- Basically, do all that stuff AFTER this line.

tests/test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ else
2323
print('Individual Test File/Directory provided: ' .. test_file)
2424
end
2525

26-
require('plenary.test_harness').test_directory(test_file, {
26+
require('plenary-busted.test_harness').test(test_file, {
2727
minimal_init = 'tests/minimal_init.lua',
2828
sequential = true,
2929
})

0 commit comments

Comments
 (0)