We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd0abf commit b1497a4Copy full SHA for b1497a4
1 file changed
lua/telescope/testharness/init.lua
@@ -1,7 +1,5 @@
1
local assert = require "luassert"
2
3
-local Path = require "neoplen.path"
4
-
5
local tester = {}
6
tester.debug = false
7
@@ -79,9 +77,8 @@ end
79
77
80
78
tester.run_file = function(filename)
81
local file = "./lua/tests/pickers/" .. filename .. ".lua"
82
- local path = Path:new(file)
83
84
- if not path:exists() then
+ if not vim.uv.fs_stat(file) then
85
assert.are.same("<An existing file>", file)
86
end
87
@@ -98,7 +95,7 @@ tester.run_file = function(filename)
98
95
return {ok, msg or runner.state}
99
96
end)()
100
97
]],
101
- path:absolute()
+ vim.fs.abspath(file)
102
)
103
104
check_results(get_results_from_contents(contents))
0 commit comments