aboutsummaryrefslogtreecommitdiff
path: root/compat-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'compat-tests.el')
-rw-r--r--compat-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/compat-tests.el b/compat-tests.el
index 2999a4f..d67365d 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -2967,5 +2967,9 @@
(should-error (widget-create 'compat--not-existing))
(should-equal (take 3 (widget-create 'natnum)) '(natnum :value "0"))))
+(ert-deftest widget-key ()
+ (with-temp-buffer
+ (should-equal (take 3 (widget-create 'key)) '(key :value ""))))
+
(provide 'compat-tests)
;;; compat-tests.el ends here