branch: master
commit 66e43a3a3388c3af3dd851ba0a1f48dcb6efb1ae
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Add interactive tags and skip-unless
---
test/core-tests.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/core-tests.el b/test/core-tests.el
index 7903649..2e0c77f 100644
--- a/test/core-tests.el
+++ b/test/core-tests.el
@@ -546,6 +546,8 @@
(should (= (company--row) 0)))))
(ert-deftest company-column-with-line-numbers-display ()
+ :tags '(interactive)
+ (skip-unless (fboundp 'display-line-numbers-mode))
(with-temp-buffer
(display-line-numbers-mode)
(save-window-excursion
@@ -553,6 +555,8 @@
(should (= (company--column) 0)))))
(ert-deftest company-row-and-column-with-line-numbers-display ()
+ :tags '(interactive)
+ (skip-unless (fboundp 'display-line-numbers-mode))
(with-temp-buffer
(display-line-numbers-mode)
(insert (make-string (+ (company--window-width)
(line-number-display-width)) ?a))