[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
- [elpa] branch master updated (2ee393e -> 3c14efe), Dmitry Gutov, 2014/09/13
- [elpa] 04/14: Add test for the previous commit,
Dmitry Gutov <=
- [elpa] 07/14: Use posn-actual-col-row to calculate the row, Dmitry Gutov, 2014/09/13
- [elpa] 08/14: company-complete-number: Make interactive, read the pressed digit, Dmitry Gutov, 2014/09/13
- [elpa] 09/14: company-gtags-modes: Turn into defcustom, Dmitry Gutov, 2014/09/13
- [elpa] 10/14: company-with-candidate-inserted: restore buffer modification status, Dmitry Gutov, 2014/09/13
- [elpa] 06/14: Don't use end-of-buffer-workaround, Dmitry Gutov, 2014/09/13
- [elpa] 13/14: Release 0.8.4, Dmitry Gutov, 2014/09/13
- [elpa] 01/14: company-begin-commands: include some cc-mode commands, Dmitry Gutov, 2014/09/13
- [elpa] 12/14: company--posn-col-row: add comment, Dmitry Gutov, 2014/09/13
- [elpa] 05/14: Adjust for debbugs:18384 being fixed now, Dmitry Gutov, 2014/09/13
- [elpa] 11/14: Only use company-ropemacs when ropemacs-mode is on, Dmitry Gutov, 2014/09/13