Mercurial > vim
annotate src/testdir/test_help.vim @ 11549:f5add45f9848 v8.0.0657
patch 8.0.0657: cannot get and set quickfix list items
commit https://github.com/vim/vim/commit/6a8958db259d4444da6e6956e54a6513c1af8860
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 22 21:33:20 2017 +0200
patch 8.0.0657: cannot get and set quickfix list items
Problem: Cannot get and set quickfix list items.
Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan
Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 22 Jun 2017 21:45:03 +0200 |
parents | 260100346566 |
children | 55cf556d8ce1 |
rev | line source |
---|---|
10883
cb71a5468aca
patch 8.0.0331: restoring help snapshot accesses freed memory
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " Tests for :help |
cb71a5468aca
patch 8.0.0331: restoring help snapshot accesses freed memory
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
cb71a5468aca
patch 8.0.0331: restoring help snapshot accesses freed memory
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 func Test_help_restore_snapshot() |
cb71a5468aca
patch 8.0.0331: restoring help snapshot accesses freed memory
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 help |
cb71a5468aca
patch 8.0.0331: restoring help snapshot accesses freed memory
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 set buftype= |
cb71a5468aca
patch 8.0.0331: restoring help snapshot accesses freed memory
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 help |
cb71a5468aca
patch 8.0.0331: restoring help snapshot accesses freed memory
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 edit x |
cb71a5468aca
patch 8.0.0331: restoring help snapshot accesses freed memory
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 help |
cb71a5468aca
patch 8.0.0331: restoring help snapshot accesses freed memory
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 helpclose |
cb71a5468aca
patch 8.0.0331: restoring help snapshot accesses freed memory
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 endfunc |
11167
260100346566
patch 8.0.0470: not enough testing for help commands
Christian Brabandt <cb@256bit.org>
parents:
10883
diff
changeset
|
11 |
260100346566
patch 8.0.0470: not enough testing for help commands
Christian Brabandt <cb@256bit.org>
parents:
10883
diff
changeset
|
12 func Test_help_errors() |
260100346566
patch 8.0.0470: not enough testing for help commands
Christian Brabandt <cb@256bit.org>
parents:
10883
diff
changeset
|
13 call assert_fails('help doesnotexist', 'E149:') |
260100346566
patch 8.0.0470: not enough testing for help commands
Christian Brabandt <cb@256bit.org>
parents:
10883
diff
changeset
|
14 call assert_fails('help!', 'E478:') |
260100346566
patch 8.0.0470: not enough testing for help commands
Christian Brabandt <cb@256bit.org>
parents:
10883
diff
changeset
|
15 endfunc |