Fix a compilation warning in cus-edit-tests.el
This commit is contained in:
parent
48c65f219d
commit
4450ae0f78
1 changed files with 4 additions and 3 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue