diff options
Diffstat (limited to 'test/test_history_saving.vader')
-rw-r--r-- | test/test_history_saving.vader | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/test_history_saving.vader b/test/test_history_saving.vader index b6c75972..2f1044d7 100644 --- a/test/test_history_saving.vader +++ b/test/test_history_saving.vader @@ -44,13 +44,7 @@ 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])) - - 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 ['/bin/sh', '-c', 'echo command history test'], g:history[0].command 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. |