projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a5b52d
)
New test for make_symbol_constant
author
Stefan Kangas
<stefan@marxist.se>
Sat, 16 Jul 2022 16:13:56 +0000
(18:13 +0200)
committer
Stefan Kangas
<stefan@marxist.se>
Sat, 16 Jul 2022 16:23:09 +0000
(18:23 +0200)
* test/src/data-tests.el (data-tests-make_symbol_constant): New
test.
test/src/data-tests.el
patch
|
blob
|
history
diff --git
a/test/src/data-tests.el
b/test/src/data-tests.el
index 7d8535f5f37e06be31518b9868d45f448367b6a3..7ce2995e562cec5ad04abb48a5b21f9bc1ff2326 100644
(file)
--- a/
test/src/data-tests.el
+++ b/
test/src/data-tests.el
@@
-768,4
+768,8
@@
comparing the subr with a much slower Lisp implementation."
(default-value 'last-coding-system-used))
'(no-conversion bug34318)))))
+(ert-deftest data-tests-make_symbol_constant ()
+ "Can't set variable marked with 'make_symbol_constant'."
+ (should-error (setq most-positive-fixnum 1) :type 'setting-constant))
+
;;; data-tests.el ends here