Add unit test for Bug#30005.
* test/src/callint-tests.el (call-interactively/embedded-nulls): New unit test.
This commit is contained in:
parent
18139139c9
commit
4c998b4e4f
1 changed files with 8 additions and 0 deletions
|
@ -35,4 +35,12 @@
|
|||
(cdr data)
|
||||
'("Invalid control letter `\u00FF' (#o377, #x00ff) in interactive calling string")))))
|
||||
|
||||
(ert-deftest call-interactively/embedded-nulls ()
|
||||
"Check that Bug#30005 is fixed."
|
||||
(should (equal (let ((unread-command-events '(?a ?b)))
|
||||
(call-interactively (lambda (a b)
|
||||
(interactive "ka\0a: \nkb: ")
|
||||
(list a b))))
|
||||
'("a" "b"))))
|
||||
|
||||
;;; callint-tests.el ends here
|
||||
|
|
Loading…
Add table
Reference in a new issue