Mercurial > vim
annotate src/testdir/test_jumps.vim @ 17968:22ddc0ee65e7 v8.1.1980
patch 8.1.1980: fix for search stat not tested
Commit: https://github.com/vim/vim/commit/0f63ed33fdd12d8220f7bc7ff91095e7ceed9985
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 4 16:32:36 2019 +0200
patch 8.1.1980: fix for search stat not tested
Problem: Fix for search stat not tested.
Solution: Add a screenshot test. (Christian Brabandt)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Sep 2019 16:45:04 +0200 |
parents | 5ec4fbfe38c5 |
children | 08940efa6b4e |
rev | line source |
---|---|
9377
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 func Test_empty_buffer() |
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 new |
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 insert |
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 a |
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 b |
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 c |
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 d |
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 . |
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 call assert_equal(1, line("''")) |
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 bwipe! |
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 endfunc |