projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c65f2
)
Fix a compilation warning in cus-edit-tests.el
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 20 Feb 2022 18:17:37 +0000
(19:17 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 20 Feb 2022 18:17:49 +0000
(19:17 +0100)
test/lisp/cus-edit-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/cus-edit-tests.el
b/test/lisp/cus-edit-tests.el
index 7a597ccf343267d7ff35c3999502843ee8022637..0ef5168109bdeb769ec68413b43c0964830ca8a1 100644
(file)
--- a/
test/lisp/cus-edit-tests.el
+++ b/
test/lisp/cus-edit-tests.el
@@
-76,10
+76,11
@@
(customize-saved)
(should (search-forward cus-edit-tests--obsolete-option-tag nil t)))))
+(defcustom cus-edit-test-foo1 0
+ ""
+ :type 'number)
+
(ert-deftest test-setopt ()
- (defcustom cus-edit-test-foo1 0
- ""
- :type 'number)
(should (= (setopt cus-edit-test-foo1 1) 1))
(should (= cus-edit-test-foo1 1))
(should-error (setopt cus-edit-test-foo1 :foo)))