emacs-emojify

fork of https://github.com/iqbalansari/emacs-emojify
Log | Files | Refs | LICENSE

commit 20d4fc0ea45a53f7edbe99c83317a3e048e398ef
parent d40aec74aba1fd9b3ace912e5cd6006b4113fac8
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date:   Sun,  3 May 2020 14:24:00 +0530

Improve test for org-mode tag detection

Diffstat:
Mtest/emojify-test.el | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/emojify-test.el b/test/emojify-test.el @@ -357,11 +357,12 @@ (ert-deftest emojify-tests-emojifying-org-mode-buffers () :tags '(org-mode contextual) - (emojify-tests-with-emojified-static-buffer "* Test :books:\n:books:" + (emojify-tests-with-emojified-static-buffer "* Test :books:\n:books:\n* Test :book:tag:\n" (org-mode) (emojify-redisplay-emojis-in-region) (emojify-tests-should-not-be-emojified (1- (line-end-position))) - (emojify-tests-should-be-emojified (line-beginning-position 2))) + (emojify-tests-should-be-emojified (line-beginning-position 2)) + (emojify-tests-should-not-be-emojified (- (line-end-position 3) 5))) (emojify-tests-with-emojified-static-buffer "8)" ;; org-mode in Emacs v24.3 failed in read only buffers