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

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

[elpa] master c494fc6 17/29: Fix a failing test


From: Dmitry Gutov
Subject: [elpa] master c494fc6 17/29: Fix a failing test
Date: Tue, 28 Mar 2017 20:50:36 -0400 (EDT)

branch: master
commit c494fc65d35f7f00c2da17206e6550385ae9b300
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Fix a failing test
---
 test/frontends-tests.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/test/frontends-tests.el b/test/frontends-tests.el
index 9592bed..0f7c19e 100644
--- a/test/frontends-tests.el
+++ b/test/frontends-tests.el
@@ -83,10 +83,8 @@
     (save-window-excursion
       (set-window-buffer nil (current-buffer))
       (save-excursion (insert "\n"))
-      (let ((company-candidates-length 1)
-            (company-candidates '("123"))
-            (company-backend #'ignore))
-        (company-preview-show-at-point (point))
+      (let ((company-backend #'ignore))
+        (company-preview-show-at-point (point) "123")
         (let* ((ov company-preview-overlay)
                (str (overlay-get ov 'after-string)))
           (should (string= str "123"))



reply via email to

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