summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-10-30 18:20:42 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-10-30 18:20:42 +0000
commit36ead807e2fe3f4aa211965cad4a5651e52cc431 (patch)
tree80bbc51070e42b0ff1b0c1dcf7044bdfd64089e5
parent4c060051bfcb2ac9b0f825adc9482c23c0b8ffc4 (diff)
* test/automated/faces-tests.el: Add another test
-rw-r--r--test/automated/faces-tests.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/automated/faces-tests.el b/test/automated/faces-tests.el
index 4029003e38..007bc80512 100644
--- a/test/automated/faces-tests.el
+++ b/test/automated/faces-tests.el
@@ -43,6 +43,9 @@
(setq-local font-lock-constant-face 'faces--test2)
(insert ";; `symbol'")
(font-lock-fontify-region (point-min) (point-max))
+ (goto-char (point-min))
+ (should (equal (background-color-at-point) "black"))
+ (should (equal (foreground-color-at-point) "black"))
(goto-char 6)
(should (equal (background-color-at-point) "black"))
(should (equal (foreground-color-at-point) "black"))))