; Add test for last change

* test/lisp/wid-edit-tests.el
(widget-test-editable-field-widget-get/put): Check return value of
widget-put.  (Bug#76664)
This commit is contained in:
Stefan Kangas 2025-03-02 02:16:11 +01:00
parent 5b13541858
commit 49e3ef3437

View file

@ -30,8 +30,8 @@
"My Name")))
(should (eq (widget-get widget :size) 13))
(should (equal (widget-get widget :format) "Name: %v "))
(widget-put widget :size 1)
(widget-put widget :format "foo")
(should (eq (widget-put widget :size 1) 1))
(should (equal (widget-put widget :format "foo") "foo"))
(should (eq (widget-get widget :size) 1))
(should (equal (widget-get widget :format) "foo")))))