aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorPhilipp Stephani2017-05-13 12:28:48 +0200
committerPhilipp Stephani2017-05-13 12:28:48 +0200
commit16004397f40d15d9db6b90632c236c804f38fc40 (patch)
tree96d42386b6d82f52c71724dd2148adb88eed0c52 /test/src
parent0e09d00f29e370ecfe2f2b22acff7b98c448bc30 (diff)
downloademacs-16004397f40d15d9db6b90632c236c804f38fc40.tar.gz
emacs-16004397f40d15d9db6b90632c236c804f38fc40.zip
Improve unescaped character literal warnings
* src/lread.c (load_warn_unescaped_character_literals) (syms_of_lread): lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Improve formatting of unescaped character literal warnings. * test/src/lread-tests.el (lread-tests--unescaped-char-literals): test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--unescaped-char-literals): Adapt unit tests.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/lread-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/lread-tests.el b/test/src/lread-tests.el
index 0427fe64e4a..685ea682e29 100644
--- a/test/src/lread-tests.el
+++ b/test/src/lread-tests.el
@@ -140,7 +140,7 @@ literals (Bug#20852)."
140 (should (equal (lread-tests--last-message) 140 (should (equal (lread-tests--last-message)
141 (concat (format-message "Loading `%s': " file-name) 141 (concat (format-message "Loading `%s': " file-name)
142 "unescaped character literals " 142 "unescaped character literals "
143 "\", (, ), ;, [, ] detected!"))))) 143 "`?\"', `?(', `?)', `?;', `?[', `?]' detected!")))))
144 144
145(ert-deftest lread-test-bug26837 () 145(ert-deftest lread-test-bug26837 ()
146 "Test for http://debbugs.gnu.org/26837 ." 146 "Test for http://debbugs.gnu.org/26837 ."