diff options
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/callint-tests.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/src/callint-tests.el b/test/src/callint-tests.el index 8fc7edf010c..9a812223ad0 100644 --- a/test/src/callint-tests.el +++ b/test/src/callint-tests.el | |||
| @@ -35,4 +35,12 @@ | |||
| 35 | (cdr data) | 35 | (cdr data) |
| 36 | '("Invalid control letter `\u00FF' (#o377, #x00ff) in interactive calling string"))))) | 36 | '("Invalid control letter `\u00FF' (#o377, #x00ff) in interactive calling string"))))) |
| 37 | 37 | ||
| 38 | (ert-deftest call-interactively/embedded-nulls () | ||
| 39 | "Check that Bug#30005 is fixed." | ||
| 40 | (should (equal (let ((unread-command-events '(?a ?b))) | ||
| 41 | (call-interactively (lambda (a b) | ||
| 42 | (interactive "ka\0a: \nkb: ") | ||
| 43 | (list a b)))) | ||
| 44 | '("a" "b")))) | ||
| 45 | |||
| 38 | ;;; callint-tests.el ends here | 46 | ;;; callint-tests.el ends here |