    (lambda ()
      (find-file-and-wait-for-project-load "test/Test1/Program.fs")
      (search-forward "X.func")
-     (delete-backward-char 1)
+     (delete-char -1)
      (backward-char)
      (fsharp-ac-parse-current-buffer t)
      (wait-for-condition (lambda () (> (length (overlays-at (point))) 0)))

     (wait-for-condition (lambda () (/= (point) 88)))
     (should= (point) 18)
     (fsharp-ac/pop-gotodefn-stack)
     (should= (point) 88))))

(ert-deftest check-tooltip ()
  "Check tooltip request works"

   (lambda ()
     (find-file-and-wait-for-project-load "test/Test1/Program.fs")
     (search-forward "X.func")
     (delete-char -2)
     (auto-complete)
     (ac-complete)
     (beginning-of-line)
