# HG changeset patch # User Bram Moolenaar # Date 1413923791 -7200 # Node ID 6a598be6d4e80c0112a3cbd4a8c00ab0c9e22e6e # Parent a9aed37ad176183b96bba36e0833fa301c90136c Add the missing test files. diff --git a/src/testdir/test_signs.in b/src/testdir/test_signs.in new file mode 100644 --- /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 --- /dev/null +++ b/src/testdir/test_signs.ok @@ -0,0 +1,2 @@ + +2