]> code.delx.au - gnu-emacs/blobdiff - test/lisp/faces-tests.el
Merge branch 'emacs-25-merge'
[gnu-emacs] / test / lisp / faces-tests.el
index 007bc805120ceaa91ded34a418c3cc3644544bde..ff9dfc53fbee6b3385809a2b991dfcfb65d1897d 100644 (file)
     (goto-char (point-min))
     (should (equal (background-color-at-point) "black"))
     (should (equal (foreground-color-at-point) "black")))
+  (with-temp-buffer
+    (insert (propertize "STRING" 'face '(:foreground "black" :background "black")))
+    (goto-char (point-min))
+    (should (equal (background-color-at-point) "black"))
+    (should (equal (foreground-color-at-point) "black")))
   (with-temp-buffer
     (emacs-lisp-mode)
     (setq-local font-lock-comment-face 'faces--test1)