1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-24 07:20:29 +00:00

Remove test introduced in 190f47222

* testing/lisp/test-org-macs.el (test-org/string-width): Remove the
new test.  It is not working in batch mode, where pixel width cannot
be calculated.
This commit is contained in:
Ihor Radchenko 2024-07-22 21:01:20 +02:00
parent 190f472227
commit 114c764035
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -43,8 +43,6 @@
"Test `org-string-width' specifications."
(should (= 1 (org-string-width "a")))
(should (= 0 (org-string-width "")))
;; Zero-width space
(should (= 0 (org-string-width "")))
;; Ignore invisible characters.
(should (= 0 (org-string-width #("a" 0 1 (invisible t)))))
(should (= 1 (org-string-width #("ab" 0 1 (invisible t)))))