summaryrefslogtreecommitdiff
path: root/test/test_history_saving.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-05-12 21:16:15 +0100
committerw0rp <devw0rp@gmail.com>2017-05-12 21:16:15 +0100
commit5a947933d727503482776b9459e8680b7f29324a (patch)
tree234e9605d49330410151b8a8a6db04163750967f /test/test_history_saving.vader
parent2bafdb7e5a5cb96cb8263ed1b7bb79be021e4350 (diff)
downloadale-5a947933d727503482776b9459e8680b7f29324a.zip
Refactor jobs into a Vim version agnostic API which can be used for other purposes
Diffstat (limited to 'test/test_history_saving.vader')
-rw-r--r--test/test_history_saving.vader8
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.