[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4450ae0f78: Fix a compilation warning in cus-edit-tests.el
From: |
Lars Ingebrigtsen |
Subject: |
master 4450ae0f78: Fix a compilation warning in cus-edit-tests.el |
Date: |
Sun, 20 Feb 2022 13:17:57 -0500 (EST) |
branch: master
commit 4450ae0f7801182723a514cb02a1667a3dbcfc8e
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix a compilation warning in cus-edit-tests.el
---
test/lisp/cus-edit-tests.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/test/lisp/cus-edit-tests.el b/test/lisp/cus-edit-tests.el
index 7a597ccf34..0ef5168109 100644
--- 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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4450ae0f78: Fix a compilation warning in cus-edit-tests.el,
Lars Ingebrigtsen <=