diff options
Diffstat (limited to 'test/test_history_saving.vader')
-rw-r--r-- | test/test_history_saving.vader | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/test_history_saving.vader b/test/test_history_saving.vader index 2f1044d7..b6c75972 100644 --- a/test/test_history_saving.vader +++ b/test/test_history_saving.vader @@ -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. |