aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/emacs-module-tests.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el
index 1eebb418cf3..621229c62aa 100644
--- a/test/src/emacs-module-tests.el
+++ b/test/src/emacs-module-tests.el
@@ -500,4 +500,10 @@ See Bug#36226."
500 (should (eq (mod-test-identity 123) 123)) 500 (should (eq (mod-test-identity 123) 123))
501 (should-not (call-interactively #'mod-test-identity))) 501 (should-not (call-interactively #'mod-test-identity)))
502 502
503(ert-deftest module/unibyte ()
504 (let ((result (mod-test-return-unibyte)))
505 (should (stringp result))
506 (should (not (multibyte-string-p (mod-test-return-unibyte))))
507 (should (equal result "foo\x00zot"))))
508
503;;; emacs-module-tests.el ends here 509;;; emacs-module-tests.el ends here