diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-10-21 22:36:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-10-21 22:36:31 +0200 |
commit | a94618e16c2b55a351c172632873ad158c9b51db (patch) | |
tree | 3189308c54976c0887b50c53bb64bd971ef4fbdb /src | |
parent | 482a2b5c9d53fa7ae44a64bbbfa0bae868cbe4a0 (diff) | |
download | vim-git-a94618e16c2b55a351c172632873ad158c9b51db.tar.gz |
Add the missing test files.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_signs.in | 22 | ||||
-rw-r--r-- | src/testdir/test_signs.ok | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/src/testdir/test_signs.in b/src/testdir/test_signs.in new file mode 100644 index 000000000..a2f15e932 --- /dev/null +++ b/src/testdir/test_signs.in @@ -0,0 +1,22 @@ +Tests for signs +STARTTEST +:so small.vim +:if !has("signs") +: e! test.ok +: wq! test.out +:endif +:" +:sign define JumpSign text=x +:exe 'sign place 42 line=2 name=JumpSign buffer=' . bufnr('') +:" Split the window to the bottom to verify :sign-jump will stay in the current +:" window if the buffer is displayed there +:bot split +:exe 'sign jump 42 buffer=' . bufnr('') +:call append(line('$'), winnr()) +:$-1,$w! test.out +ENDTEST + +STARTTEST +:qa! +ENDTEST + diff --git a/src/testdir/test_signs.ok b/src/testdir/test_signs.ok new file mode 100644 index 000000000..1f8c977ec --- /dev/null +++ b/src/testdir/test_signs.ok @@ -0,0 +1,2 @@ + +2 |