emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/elpa bb51d47 30/71: Close #409: make a test more robust


From: João Távora
Subject: [elpa] externals/elpa bb51d47 30/71: Close #409: make a test more robust
Date: Wed, 16 Dec 2020 11:42:19 -0500 (EST)

branch: externals/elpa
commit bb51d47dd6e59e5bef1bfb393a39a73a7811d0ee
Author: Felicián Németh <felician.nemeth@gmail.com>
Commit: Felicián Németh <felician.nemeth@gmail.com>

    Close #409: make a test more robust
    
    See https://github.com/joaotavora/eglot/issues/279#issuecomment-542306382
    
    * eglot-tests.el (snippet-completions): Check location of point as
    well.
---
 eglot-tests.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eglot-tests.el b/eglot-tests.el
index 14e79a9..909770c 100644
--- a/eglot-tests.el
+++ b/eglot-tests.el
@@ -524,8 +524,8 @@ def foobazquuz(d, e, f): pass
       (goto-char (point-max))
       (insert "foobar")
       (completion-at-point)
-      (beginning-of-line)
-      (should (looking-at "foobarquux(a, b)")))))
+      (should (looking-back "foobarquux("))
+      (should (looking-at "a, b)")))))
 
 (defvar company-candidates)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]