Mercurial > vim
annotate src/testdir/test_help.vim @ 11323:3e799a37ea22 v8.0.0547
patch 8.0.0547: extra line break in verbosefile
commit https://github.com/vim/vim/commit/52604f2454e5369f861d3ce34764f74a0999c773
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 7 16:17:39 2017 +0200
patch 8.0.0547: extra line break in verbosefile
Problem: Extra line break in verbosefile when using ":echomsg". (Ingo
Karkat)
Solution: Don't call msg_start(). (closes #1618)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 07 Apr 2017 16:30:04 +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 |