org-mode/testing/lisp
Ihor Radchenko 4c0641837c
org-babel-script-escape: Turn empty lists into nil
* lisp/ob-core.el: Translate (), {}, and [] to nil.
* testing/lisp/test-ob.el (test-ob/script-escape): Add tests.

Reported-by: Jonas Bernoulli <jonas@bernoul.li>
Link: https://list.orgmode.org/87v8opfhk1.fsf@bernoul.li/T/#u
2022-10-12 19:46:14 +08:00
..
test-ob-awk.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-C.el ob-C: do not swallow double quotes on raw output 2022-09-27 16:20:57 +02:00
test-ob-clojure.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-emacs-lisp.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-eshell.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-exp.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-fortran.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-header-arg-defaults.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-java.el test-ob-java: Use `temporary-file-directory' 2022-10-09 12:30:00 +08:00
test-ob-julia.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-lilypond.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-lob.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-lua.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-maxima.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-octave.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-perl.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-plantuml.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-python.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-R.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-ruby.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-scheme.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-sed.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-shell.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-sql.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-sqlite.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-table.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-tangle.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob.el org-babel-script-escape: Turn empty lists into nil 2022-10-12 19:46:14 +08:00
test-oc.el testing: Address FIXMEs identified in 1a5e3f931 2022-09-16 11:30:16 +08:00
test-ol-bbdb.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ol.el testing: Address FIXMEs identified in 1a5e3f931 2022-09-16 11:30:16 +08:00
test-org-agenda.el org-agenda: Make sure file restriction can be removed 2022-10-12 15:35:12 +08:00
test-org-archive.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-attach-git.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-attach.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-capture.el org-capture: Add template hook properties 2022-10-07 13:38:52 +08:00
test-org-clock.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-colview.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-datetree.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-duration.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-element.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-feed.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-fold.el org-cycle-set-visibility-according-to-property: Do not change ancestor visibility 2022-10-12 13:47:41 +08:00
test-org-footnote.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-info.el ol-info: Define :insert-description function 2022-08-26 21:09:39 +08:00
test-org-inlinetask.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-lint.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-list.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-macro.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-macs.el test-org-macs.el: Add test for template-expansion bug 2022-04-30 17:45:32 +08:00
test-org-num.el org-num: Add tests 2020-08-28 08:45:41 +02:00
test-org-pcomplete.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-protocol.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-src.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org-table.el ox-latex: Protect [...] after \\ to be interpreted as LaTeX argument 2022-10-11 11:32:52 +08:00
test-org-tempo.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-timer.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org.el org-comment-line-break-function: Avoid built-in Emacs comment machinery 2022-10-04 19:47:11 +08:00
test-ox-publish.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ox-texinfo.el ox-texinfo: Include LaTeX in Texinfo exports 2022-09-21 15:29:50 +08:00
test-ox.el Add a regression test for `org-export-with-buffer-copy' 2022-10-10 17:36:11 +08:00
test-property-inheritance.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00