Skip to content

Commit ef0c587

Browse files
committed
tests: move test suite to root
1 parent 81463b9 commit ef0c587

23 files changed

Lines changed: 8 additions & 8 deletions

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $(PLENTEST):
1010
.PHONY: test lint docgen
1111
test: $(PLENTEST)
1212
PLENTEST=$(PLENTEST) nvim --headless --clean -u scripts/minimal_init.lua \
13-
-c "lua require('plentest').test_directory('lua/tests/automated', { minimal_init = './scripts/minimal_init.lua' })"
13+
-c "lua require('plentest').test_directory('tests/automated', { minimal_init = './scripts/minimal_init.lua' })"
1414

1515
lint:
1616
luacheck lua/telescope

doc/telescope.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2724,7 +2724,7 @@ do the following:
27242724
Another interesting thing to do is that these actions now have functions you
27252725
can call. These functions include `:replace(f)`, `:replace_if(f, c)`,
27262726
`replace_map(tbl)` and `enhance(tbl)`. More information on these functions can
2727-
be found in the `developers.md` and `lua/tests/automated/action_spec.lua` file.
2727+
be found in the `developers.md` and `tests/automated/action_spec.lua` file.
27282728

27292729
actions.move_selection_next({prompt_bufnr}) *telescope.actions.move_selection_next()*
27302730
Move the selection to the next entry

lua/telescope/actions/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
--- Another interesting thing to do is that these actions now have functions you
4949
--- can call. These functions include `:replace(f)`, `:replace_if(f, c)`,
5050
--- `replace_map(tbl)` and `enhance(tbl)`. More information on these functions
51-
--- can be found in the `developers.md` and `lua/tests/automated/action_spec.lua`
51+
--- can be found in the `developers.md` and `tests/automated/action_spec.lua`
5252
--- file.
5353
---@brief ]]
5454

lua/telescope/testharness/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ tester.run_string = function(contents)
7676
end
7777

7878
tester.run_file = function(filename)
79-
local file = "./lua/tests/pickers/" .. filename .. ".lua"
79+
local file = "./tests/pickers/" .. filename .. ".lua"
8080

8181
if not vim.uv.fs_stat(file) then
8282
assert.are.same("<An existing file>", file)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)