mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Resolve issues mentioned in PR review
This commit is contained in:
parent
795da343bb
commit
7fa69fb288
@ -297,10 +297,6 @@ describe('jobs', function()
|
||||
eq({'notification', 'exit', {data, 0}}, next_msg())
|
||||
end)
|
||||
|
||||
it('can omit options', function()
|
||||
ok(eval([[jobstart('echo ""')]]) > 0)
|
||||
end)
|
||||
|
||||
it('can omit data callbacks', function()
|
||||
nvim('command', 'unlet g:job_opts.on_stdout')
|
||||
nvim('command', 'let g:job_opts.user = 5')
|
||||
|
@ -280,7 +280,6 @@ describe("getcwd()", function ()
|
||||
|
||||
it("returns empty string if working directory does not exist", function()
|
||||
if helpers.iswin() then
|
||||
pending('[Cannot delete working directory in Windows]')
|
||||
return
|
||||
end
|
||||
command("cd "..directories.global)
|
||||
|
@ -88,7 +88,6 @@ describe(':write', function()
|
||||
command('let $HOME=""')
|
||||
eq(funcs.fnamemodify('.', ':p:h'), funcs.fnamemodify('.', ':p:h:~'))
|
||||
-- Message from check_overwrite
|
||||
-- FIXME: 'E13: File exists (add ! to override)' in Windows
|
||||
if not helpers.iswin() then
|
||||
eq(('\nE17: "'..funcs.fnamemodify('.', ':p:h')..'" is a directory'),
|
||||
redir_exec('write .'))
|
||||
|
Loading…
Reference in New Issue
Block a user