summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-10-21 22:36:31 +0200
committerBram Moolenaar <Bram@vim.org>2014-10-21 22:36:31 +0200
commita94618e16c2b55a351c172632873ad158c9b51db (patch)
tree3189308c54976c0887b50c53bb64bd971ef4fbdb /src
parent482a2b5c9d53fa7ae44a64bbbfa0bae868cbe4a0 (diff)
downloadvim-git-a94618e16c2b55a351c172632873ad158c9b51db.tar.gz
Add the missing test files.
Diffstat (limited to 'src')
-rw-r--r--src/testdir/test_signs.in22
-rw-r--r--src/testdir/test_signs.ok2
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