diff options
| author | dundargoc <gocdundar@gmail.com> | 2024-12-14 15:52:13 +0100 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-12-14 21:51:16 +0100 |
| commit | 3da18150795cd0cf2c0efe3c6fe6e142800c14ef (patch) | |
| tree | 02c054b212c81d18813cb6c9821f2a7c9dea9c63 /test | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-3da18150795cd0cf2c0efe3c6fe6e142800c14ef.tar nvim-lspconfig-3da18150795cd0cf2c0efe3c6fe6e142800c14ef.tar.gz nvim-lspconfig-3da18150795cd0cf2c0efe3c6fe6e142800c14ef.tar.bz2 nvim-lspconfig-3da18150795cd0cf2c0efe3c6fe6e142800c14ef.tar.lz nvim-lspconfig-3da18150795cd0cf2c0efe3c6fe6e142800c14ef.tar.xz nvim-lspconfig-3da18150795cd0cf2c0efe3c6fe6e142800c14ef.tar.zst nvim-lspconfig-3da18150795cd0cf2c0efe3c6fe6e142800c14ef.zip | |
refactor!: remove util.path.escape_wildcards
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lspconfig_spec.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/lspconfig_spec.lua b/test/lspconfig_spec.lua index 256faba2..a34dc40e 100644 --- a/test/lspconfig_spec.lua +++ b/test/lspconfig_spec.lua @@ -10,21 +10,6 @@ describe('lspconfig', function() describe('util', function() describe('path', function() - describe('escape_wildcards', function() - it('doesnt escape if not needed', function() - local lspconfig = require 'lspconfig' - - local res = lspconfig.util.path.escape_wildcards '/usr/local/test/fname.lua' - eq('/usr/local/test/fname.lua', res) - end) - it('escapes if needed', function() - local lspconfig = require 'lspconfig' - - local res = lspconfig.util.path.escape_wildcards '/usr/local/test/[sq brackets] fname?*.lua' - eq('/usr/local/test/\\[sq brackets\\] fname\\?\\*.lua', res) - end) - end) - describe('is_absolute', function() it('is absolute', function() local lspconfig = require 'lspconfig' |
