test(lsp): file URIs do not allow relative paths

This commit is contained in:
Alessandro Pezzoni
2021-07-08 00:36:27 +01:00
parent ce5f4228aa
commit 82a443e1f3
3 changed files with 18 additions and 18 deletions

View File

@@ -11,7 +11,7 @@ describe('vim.lsp.codelens', function()
after_each(helpers.clear)
it('on_codelens_stores_and_displays_lenses', function()
local fake_uri = "file://fake/uri"
local fake_uri = "file:///fake/uri"
local bufnr = exec_lua([[
fake_uri = ...
local bufnr = vim.uri_to_bufnr(fake_uri)