annotate src/testdir/test_argument_0count.in @ 7593:87e607fb6853 v7.4.1096

commit https://github.com/vim/vim/commit/a260b87d9da17f605666630f18c1ed909c2b8bae Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 15 20:48:22 2016 +0100 patch 7.4.1096 Problem: Need several lines to verify a command produces an error. Solution: Add assert_fails(). (suggested by Nikolay Pavlov) Make the quickfix alloc test actually work.
author Christian Brabandt <cb@256bit.org>
date Fri, 15 Jan 2016 21:00:06 +0100
parents a03e143b9358
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6522
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Tests for :0argadd and :0argedit vim: set ft=vim :
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 :so small.vim
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :let arglists = []
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :%argd
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :arga a b c d
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :2argu
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :0arga added
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :call add(arglists, argv())
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :2argu
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :arga third
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 :call add(arglists, argv())
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :%argd
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 :arga a b c d
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 :2argu
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 :0arge edited
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 :call add(arglists, argv())
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 :2argu
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 :arga third
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 :call add(arglists, argv())
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 :e! test.out
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 :call append(0, map(copy(arglists), 'join(v:val, " ")'))
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 :w
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 :qa!
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 ENDTEST
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27
a03e143b9358 updated for version 7.4.588
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28