aboutsummaryrefslogtreecommitdiffstats
path: root/test/lspconfig_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/lspconfig_spec.lua')
-rw-r--r--test/lspconfig_spec.lua29
1 files changed, 0 insertions, 29 deletions
diff --git a/test/lspconfig_spec.lua b/test/lspconfig_spec.lua
index 31d03f1d..8f02960f 100644
--- a/test/lspconfig_spec.lua
+++ b/test/lspconfig_spec.lua
@@ -49,35 +49,6 @@ describe('lspconfig', function()
end)
end)
- describe('is_file', function()
- it('is file', function()
- local lspconfig = require 'lspconfig'
-
- -- change the working directory to test directory
- vim.api.nvim_command 'cd ./test/test_dir/'
- local file = vim.fn.getcwd() .. '/root_marker.txt'
-
- eq(true, lspconfig.util.path.is_file(file))
- end)
-
- it('is not present file', function()
- local lspconfig = require 'lspconfig'
-
- -- change the working directory to test directory
- vim.api.nvim_command 'cd ./test/test_dir/'
- local file = vim.fn.getcwd() .. '/not_exists.txt'
-
- eq(true, not lspconfig.util.path.is_file(file))
- end)
-
- it('is directory', function()
- local lspconfig = require 'lspconfig'
-
- local cwd = vim.fn.getcwd()
- eq(true, not lspconfig.util.path.is_file(cwd))
- end)
- end)
-
describe('is_absolute', function()
it('is absolute', function()
local lspconfig = require 'lspconfig'