mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-30 14:45:29 +08:00
Run all tests in NeoVim, improve the test script, and make all tests pass for NeoVim
This commit is contained in:
@@ -44,7 +44,13 @@ Execute(History should be set when commands are run):
|
||||
|
||||
AssertEqual 1, len(g:history)
|
||||
AssertEqual sort(['status', 'exit_code', 'job_id', 'command']), sort(keys(g:history[0]))
|
||||
AssertEqual ['/bin/sh', '-c', 'echo command history test'], g:history[0].command
|
||||
|
||||
if has('nvim')
|
||||
AssertEqual 'echo command history test', g:history[0].command
|
||||
else
|
||||
AssertEqual ['/bin/sh', '-c', 'echo command history test'], g:history[0].command
|
||||
endif
|
||||
|
||||
AssertEqual 'finished', g:history[0].status
|
||||
AssertEqual 0, g:history[0].exit_code
|
||||
" The Job ID will change each time, but we can check the type.
|
||||
|
||||
Reference in New Issue
Block a user