aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2015-05-05 10:29:21 +0200
committerJustin M. Keyes <justinkz@gmail.com>2015-05-27 12:31:09 -0400
commitbc27c9e8d1630e3170b5ea5a87c7ae06a231b058 (patch)
tree1aead5cfa9ffbffb309f1075b7436ae3dd94870b /src
parenta4c22c95e34080b7c9d0d704f1850dd109346622 (diff)
downloadrneovim-bc27c9e8d1630e3170b5ea5a87c7ae06a231b058.tar.gz
rneovim-bc27c9e8d1630e3170b5ea5a87c7ae06a231b058.tar.bz2
rneovim-bc27c9e8d1630e3170b5ea5a87c7ae06a231b058.zip
tests: Migrate legacy test 76. #2711
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/Makefile2
-rw-r--r--src/nvim/testdir/test76.in46
-rw-r--r--src/nvim/testdir/test76.ok4
3 files changed, 1 insertions, 51 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index bc5b03727e..b95f6b4499 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -24,7 +24,7 @@ SCRIPTS := test_autoformat_join.out \
test61.out test62.out test63.out test64.out test65.out \
test68.out test69.out \
test71.out test73.out test74.out \
- test76.out test79.out test80.out \
+ test79.out test80.out \
test82.out test83.out \
test86.out test87.out test88.out \
test_listlbr.out \
diff --git a/src/nvim/testdir/test76.in b/src/nvim/testdir/test76.in
deleted file mode 100644
index db7ebe2169..0000000000
--- a/src/nvim/testdir/test76.in
+++ /dev/null
@@ -1,46 +0,0 @@
-Tests for completefunc/omnifunc. vim: set ft=vim :
-
-STARTTEST
-:"Test that nothing happens if the 'completefunc' opens
-:"a new window (no completion, no crash)
-:so small.vim
-:function! DummyCompleteOne(findstart, base)
-: if a:findstart
-: return 0
-: else
-: wincmd n
-: return ['onedef', 'oneDEF']
-: endif
-:endfunction
-:setlocal completefunc=DummyCompleteOne
-/^one
-A:q!
-:function! DummyCompleteTwo(findstart, base)
-: if a:findstart
-: wincmd n
-: return 0
-: else
-: return ['twodef', 'twoDEF']
-: endif
-:endfunction
-:setlocal completefunc=DummyCompleteTwo
-/^two
-A:q!
-:"Test that 'completefunc' works when it's OK.
-:function! DummyCompleteThree(findstart, base)
-: if a:findstart
-: return 0
-: else
-: return ['threedef', 'threeDEF']
-: endif
-:endfunction
-:setlocal completefunc=DummyCompleteThree
-/^three
-A:/^+++/,/^three/w! test.out
-:qa!
-ENDTEST
-
-+++
-one
-two
-three
diff --git a/src/nvim/testdir/test76.ok b/src/nvim/testdir/test76.ok
deleted file mode 100644
index 2a70acbade..0000000000
--- a/src/nvim/testdir/test76.ok
+++ /dev/null
@@ -1,4 +0,0 @@
-+++
-
-two
-threeDEF