Ihor Radchenko <yanta...@posteo.net> writes: > May you create a test for this with expected failure?
Sure! Here is one: (should (equal "{B}" (org-test-with-temp-text "src_lua{return string.match('A {B} C', '%b{}')}" (org-babel-execute-src-block)))) The return value from 'string.match' is the substring "{B}", which Babel misjudges to be a list and signals the error: (user-error "Inline error: list result cannot be used") > Applied, onto main, after [...] Thank you, Ihor! Rudy -- "I do not fear death. I had been dead for billions and billions of years before I was born, and had not suffered the slightest inconvenience from it." --- Mark Twain, paraphrased Rudolf Adamkovič <rud...@adamkovic.org> [he/him] Studenohorská 25, 84103 Bratislava, Slovakia, European Union