Skip to content

Commit

Permalink
fix line break in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaaaan committed Mar 11, 2023
1 parent f57ed41 commit 445e5f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/plugin/lsp_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,7 @@ describe('LSP', function()

helpers.mkdir_p(old_dir)

local file = 'file'
local file = 'file.txt'
write_file(old_dir .. pathsep .. file, 'Test content')

local lines = exec_lua([[
Expand All @@ -2236,7 +2236,7 @@ describe('LSP', function()
eq(false, exec_lua('return vim.loop.fs_stat(...) ~= nil', old_dir))
eq(true, exec_lua('return vim.loop.fs_stat(...) ~= nil', new_dir))
eq(true, exec_lua('return vim.loop.fs_stat(...) ~= nil', new_dir .. pathsep .. file))
eq('Test content\n', read_file(new_dir .. pathsep .. file))
eq('Test content', read_file(new_dir .. pathsep .. file))

os.remove(new_dir)
end)
Expand Down

0 comments on commit 445e5f9

Please sign in to comment.