From a94618e16c2b55a351c172632873ad158c9b51db Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 21 Oct 2014 22:36:31 +0200 Subject: [PATCH] Add the missing test files. --- src/testdir/test_signs.in | 22 ++++++++++++++++++++++ src/testdir/test_signs.ok | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 src/testdir/test_signs.in create mode 100644 src/testdir/test_signs.ok 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 -- 2.50.1