summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/DocTests.py1
1 files changed, 1 insertions, 0 deletions
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'