summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_arglist.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-23 23:00:08 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-23 23:00:08 +0200
commit949f1989cba8bf7653316c2b1444c26f1536bfab (patch)
tree22f1e36b509f577bae3c02ab0a22529dc378f325 /src/testdir/test_arglist.vim
parentc3328169d5566b97a6a6921067017e4369dd7cd6 (diff)
patch 8.1.1737: :args command that outputs one line gives more promptv8.1.1737
Problem: :args command that outputs one line gives more prompt. Solution: Only output line break if needed. (Daniel Hahler, closes #4715)
Diffstat (limited to 'src/testdir/test_arglist.vim')
-rw-r--r--src/testdir/test_arglist.vim5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim
index ad44a855e0..441373beae 100644
--- a/src/testdir/test_arglist.vim
+++ b/src/testdir/test_arglist.vim
@@ -140,10 +140,7 @@ func Test_argument()
call assert_equal(['d', 'c', 'b', 'a', 'c'], g:buffers)
- redir => result
- args
- redir END
- call assert_equal('a b [c] d', trim(result))
+ call assert_equal("\na b [c] d ", execute(':args'))
.argd
call assert_equal(['a', 'b', 'd'], argv())