aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/lread-tests.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/src/lread-tests.el b/test/src/lread-tests.el
index 47351c1d116..99eec9d5487 100644
--- a/test/src/lread-tests.el
+++ b/test/src/lread-tests.el
@@ -317,4 +317,9 @@ literals (Bug#20852)."
317 (should (equal (read-from-string "#_") 317 (should (equal (read-from-string "#_")
318 '(## . 2)))) 318 '(## . 2))))
319 319
320(ert-deftest lread-escaped-lf ()
321 ;; ?\LF should produce LF (only inside string literals do we ignore \LF).
322 (should (equal (read-from-string "?\\\n") '(?\n . 3)))
323 (should (equal (read-from-string "\"a\\\nb\"") '("ab" . 6))))
324
320;;; lread-tests.el ends here 325;;; lread-tests.el ends here