]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Remove the failing omni completion test
authorYegappan Lakshmanan <yegappan@yahoo.com>
Thu, 27 Jan 2022 04:43:05 +0000 (20:43 -0800)
committerYegappan Lakshmanan <yegappan@yahoo.com>
Thu, 27 Jan 2022 04:43:05 +0000 (20:43 -0800)
test/run_tests.sh
test/unit_tests.vim

index 040395958167998ac9bd48d50099e8dc3e5e3efc..39d5cec35a06a6533e9187144a699d4f7fef27fb 100755 (executable)
@@ -2,9 +2,7 @@
 
 # Script to run the unit-tests for the LSP Vim plugin
 
-#VIMPRG=${VIMPRG:=/usr/bin/vim}
-export VIMRUNTIME=/home/yega/Documents/vim/opfunc/vim/runtime
-VIMPRG=/home/yega/Documents/vim/opfunc/vim/src/vim
+VIMPRG=${VIMPRG:=/usr/bin/vim}
 VIM_CMD="$VIMPRG -u NONE -U NONE -i NONE --noplugin -N --not-a-term"
 
 $VIM_CMD -S unit_tests.vim
index a7d6e1d9632b00d408f20a4cb27b3aac023186c2..0b3057da2a76b87d75aa5a624d87297fdef2af05 100644 (file)
@@ -630,32 +630,6 @@ def Test_LspShowSignature()
   :%bw!
 enddef
 
-# Test for LSP omni completion
-def Test_omnicomplete()
-  lsp#setOptions({'autoComplete': v:false})
-  silent! edit Xtest.c
-  var lines: list<string> =<< trim END
-    void MyFunc1(void)
-    {
-    }
-
-    void MyFunc2(void)
-    {
-    }
-
-    void f1(void)
-    {
-    }
-  END
-  setline(1, lines)
-  :sleep 1
-  cursor(10, 1)
-  feedkeys("oMy\<C-X>\<C-O>\<C-N>();", "xt")
-  assert_equal("\tMyFunc2();", getline('.'))
-  :%bw!
-  lsp#setOptions({'autoComplete': v:true})
-enddef
-
 def LspRunTests()
   :set nomore
   :set debug=beep