Fix PostComplete test
ReturnEmptyIfPendingMatches_OldVim test was identical to ReturnEmptyIfPendingMatches_NewVim.
This commit is contained in:
parent
41e4886489
commit
4b9e16f14d
@ -329,9 +329,8 @@ class PostComplete_test():
|
|||||||
self, *args ):
|
self, *args ):
|
||||||
completions = [ BuildCompletion( None ) ]
|
completions = [ BuildCompletion( None ) ]
|
||||||
with self._SetupForCsharpCompletionDone( completions ):
|
with self._SetupForCsharpCompletionDone( completions ):
|
||||||
with patch( 'ycm.vimsupport.VimVersionAtLeast', return_value = True ):
|
with patch( 'ycm.vimsupport.VimVersionAtLeast', return_value = False ):
|
||||||
with patch( 'ycm.vimsupport.GetVariableValue',
|
with patch( 'ycm.vimsupport.TextBeforeCursor', return_value = ' Te' ):
|
||||||
GetVariableValue_CompleteItemIs( 'Te' ) ):
|
|
||||||
eq_( [], self.ycm.GetCompletionsUserMayHaveCompleted() )
|
eq_( [], self.ycm.GetCompletionsUserMayHaveCompleted() )
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user