feat: Name code snippets #11

Merged
kenkeiras merged 4 commits from feat/named-code-snippets into develop 2024-10-06 22:26:02 +00:00
Showing only changes of commit d4b40e404d - Show all commits

View File

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