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

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

[elpa] 04/14: Add test for the previous commit


From: Dmitry Gutov
Subject: [elpa] 04/14: Add test for the previous commit
Date: Sat, 13 Sep 2014 12:18:59 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit a770a0b38bc5cd369e40cb4b20532b4cd2072be4
Author: Dmitry Gutov <address@hidden>
Date:   Tue Sep 2 02:09:59 2014 +0400

    Add test for the previous commit
    
    Was broken in d65c53e.
---
 company-tests.el |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/company-tests.el b/company-tests.el
index 32231b7..555ee68 100644
--- a/company-tests.el
+++ b/company-tests.el
@@ -595,6 +595,15 @@
       (let ((tab-width 8))
         (should (= (company--column) 25))))))
 
+(ert-deftest company-row-with-header-line-format ()
+  :tags '(interactive)
+  (with-temp-buffer
+    (save-window-excursion
+      (set-window-buffer nil (current-buffer))
+      (should (= (company--row) 0))
+      (setq header-line-format "aaaaaaa")
+      (should (= (company--row) 0)))))
+
 (ert-deftest company-plainify ()
   (let ((tab-width 8))
     (should (equal-including-properties



reply via email to

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