Expose #+BEGIN_ block arguments.

This commit is contained in:
Sergio Martínez Portela 2022-11-15 21:07:36 +01:00
parent b819904457
commit 66d061dfda
3 changed files with 15 additions and 8 deletions

View file

@ -440,6 +440,7 @@ class TestSerde(unittest.TestCase):
+ 'echo "with two lines"\n'
+ "exit 0 # Exit successfully",
)
self.assertEqual(snippets[0].arguments.split(), ['shell', ':results', 'verbatim'])
self.assertEqual(
snippets[0].result,
"This is a test\n" + "with two lines",