 
         runs ->
           expect(editorView.querySelector('.autocomplete-plus')).toExist()
-          expect(editorView.querySelectorAll('.autocomplete-plus li')).toHaveLength 5
+          expect(editorView.querySelectorAll('.autocomplete-plus li')).toHaveLength 4
           expect(editorView.querySelector('.autocomplete-plus .list-group').style['max-height']).toBe("#{2 * 25}px")
 
     describe "when match.snippet is used", ->


          atom.commands.dispatch(editorView, 'autocomplete-plus:cancel')
          expect(editorView.querySelector('.autocomplete-plus')).not.toExist()

    describe 'when auto-activation is disabled', ->
      beforeEach ->

        {editor, triggerPosition, suggestion} = provider.onDidInsertSuggestion.mostRecentCall.args[0]
        expect(editor).toBe editor
        expect(triggerPosition).toEqual [0, 1]
        expect(suggestion.text).toBe 'ab'

    describe "prefix passed to getSuggestions", ->
      prefix = null
