From 68ecc043cc69917582d81ac3514372bc3f690e0b Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 28 Jul 2015 22:07:10 +0200 Subject: [tests] Allow string continuation in documentation in long documentation examples. --- test/DocTests.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/DocTests.py') diff --git a/test/DocTests.py b/test/DocTests.py index ac681bc2..7af7abc3 100755 --- a/test/DocTests.py +++ b/test/DocTests.py @@ -108,6 +108,7 @@ class DocTests: validate_command = False try: command = example[self.testin_token][self.testin_token] + command = re.sub(r'\\\n', '', command) except KeyError: if self.validate_dat_token in example: command = '$ ledger bal' -- cgit v1.2.3