summaryrefslogtreecommitdiff
path: root/test/lisp/faces-tests.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2017-01-28 04:40:36 +0100
committerJuanma Barranquero <lekktu@gmail.com>2017-01-28 04:40:36 +0100
commit375c70fd9ef024f1a8ac99604e89c9991ac69eea (patch)
tree53e34a0f31acccb6b16a4c62690294c4ef234de6 /test/lisp/faces-tests.el
parent3979d8f45784ccf80cebbb5007da054a87ded2c9 (diff)
downloademacs-375c70fd9ef024f1a8ac99604e89c9991ac69eea.tar.gz
emacs-375c70fd9ef024f1a8ac99604e89c9991ac69eea.tar.bz2
emacs-375c70fd9ef024f1a8ac99604e89c9991ac69eea.zip
test/*.el: Avoid byte-compiler warnings
* test/lisp/abbrev-tests.el (abbrev-table-p-test): Remove unused 'let*'. * test/lisp/faces-tests.el (faces--test): New customization group. (faces--test1, faces--test2): Use it. * test/lisp/ffap-tests.el (ffap-tests-25243): Call 'mark-whole-buffer' interactively. * test/lisp/ibuffer-tests.el (ibuffer-filter-groups, ibuffer-filtering-alist) (ibuffer-filtering-qualifiers, ibuffer-save-with-custom) (ibuffer-saved-filter-groups, ibuffer-saved-filters): Defvar. (ibuffer-format-qualifier, ibuffer-unary-operand): Declare. * test/lisp/minibuffer-tests.el (completion-test1): Mark unused lexical arguments. * test/lisp/simple-tests.el (simple-test--dummy-buffer): Wrap result in 'with-no-warnings' to avoid them when the macro is invoked for effect. * test/lisp/emacs-lisp/cl-seq-tests.el (cl-seq-count-test): Mark unused lexical arguments. * test/lisp/emacs-lisp/let-alist-tests.el (let-alist-surface-test): Mark unused lexical arguments. (let-alist-cons): Remove unused let binding. * test/lisp/net/dbus-tests.el (dbus-debug): Defvar. (dbus-get-unique-name): Declare. * test/lisp/progmodes/python-tests.el (python-bob-infloop-avoid): Call 'font-lock-fontify-buffer' interactively. * test/lisp/textmodes/tildify-tests.el (tildify-space-undo-test--test): Mark unused lexical argument.
Diffstat (limited to 'test/lisp/faces-tests.el')
-rw-r--r--test/lisp/faces-tests.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/lisp/faces-tests.el b/test/lisp/faces-tests.el
index a30ba25f8f0..2b3456d47f6 100644
--- a/test/lisp/faces-tests.el
+++ b/test/lisp/faces-tests.el
@@ -23,13 +23,18 @@
(require 'ert)
(require 'faces)
+(defgroup faces--test nil ""
+ :group 'faces--test)
+
(defface faces--test1
'((t :background "black" :foreground "black"))
- "")
+ ""
+ :group 'faces--test)
(defface faces--test2
'((t :box 1))
- "")
+ ""
+ :group 'faces--test)
(ert-deftest faces--test-color-at-point ()
(with-temp-buffer