emacs-emojify

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

commit ce6c14b8dc671eb2b7e8333ec0070bcb3e32bd54
parent 4df45d176912796b1a15b6540e52c0fe6db37cab
Author: Iqbal Ansari <iqbal.ansari@ignitesol.com>
Date:   Thu, 26 Nov 2015 15:07:42 +0530

Make electric delete tests work with last change

Diffstat:
Mtest/emojify-test.el | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/test/emojify-test.el b/test/emojify-test.el @@ -381,9 +381,10 @@ (emojify-tests-should-not-be-emojified (line-end-position)) (should (equal (line-end-position) final-line-end)))) - (emojify-tests-with-emojified-buffer "😉:wink: ;)" - (dotimes (_ 4) - (execute-kbd-macro (kbd "C-d"))) + (emojify-tests-with-emojified-buffer ";) 😉:wink:" + (dotimes (n 4) + (execute-kbd-macro (kbd "C-d")) + (emojify-redisplay-emojis)) (should (equal (point-min) (point-max)))) (emojify-tests-with-emojified-buffer "😉:wink: ;)" @@ -395,7 +396,8 @@ (emojify-tests-with-emojified-buffer "😉 :smile:" (goto-char (1+ (point-min))) (dotimes (_ 3) - (execute-kbd-macro (kbd "C-d"))) + (execute-kbd-macro (kbd "C-d")) + (emojify-redisplay-emojis)) (should (equal (1+ (point-min)) (point-max)))) (emojify-tests-with-emojified-buffer "😉:wink: ;)"