annotate src/testdir/test_help_tagjump.vim @ 8629:54ac275e3fc4 v7.4.1604

commit https://github.com/vim/vim/commit/3848e00e0177abdb31bc600234967863ec487233 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 19 18:42:29 2016 +0100 patch 7.4.1604 Problem: Although emoji characters are ambiguous width, best is to treat them as full width. Solution: Update the Unicode character tables. Add the 'emoji' options. (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Mar 2016 18:45:04 +0100
parents 40b982c98587
children b7de875169e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8562
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " Tests for :help! {subject}
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 func Test_help_tagjump()
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 help
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 call assert_equal("help", &filetype)
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 call assert_true(getline('.') =~ '\*help.txt\*')
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 helpclose
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 exec "help! ('textwidth'"
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 call assert_equal("help", &filetype)
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 call assert_true(getline('.') =~ "\\*'textwidth'\\*")
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 helpclose
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14 exec "help! ('buflisted'),"
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15 call assert_equal("help", &filetype)
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 call assert_true(getline('.') =~ "\\*'buflisted'\\*")
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 helpclose
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 endfunc