diff --git a/test/make_test_suite_yaml.py b/test/make_test_suite_yaml.py index b66376e5..a889ea5e 100755 --- a/test/make_test_suite_yaml.py +++ b/test/make_test_suite_yaml.py @@ -34,7 +34,7 @@ for tml_file in tml_files: last_line = first_line + 1 while last_line < len(contents) and '+++' not in contents[last_line]: last_line += 1 - in_yaml = ''.join(contents[first_line : last_line]).replace(r'\%', '%').replace(r'\#', '#').replace('', '\t') + in_yaml = ''.join(contents[first_line : last_line]).replace(r'\%', '%').replace(r'\#', '#').replace('', '\t').replace('', ' ') tmp_file = open('tmp', 'w') tmp_file.write(in_yaml) tmp_file.close() diff --git a/test/test_files/5GBF.yml b/test/test_files/5GBF.yml index b9238f1d..668887b2 100644 --- a/test/test_files/5GBF.yml +++ b/test/test_files/5GBF.yml @@ -4,6 +4,6 @@ Folding: as a line feed" Chomping: | Clipped empty lines - + \ diff --git a/test/test_files/6FWR.yml b/test/test_files/6FWR.yml index 6bc01ccf..4848f611 100644 --- a/test/test_files/6FWR.yml +++ b/test/test_files/6FWR.yml @@ -1,6 +1,6 @@ |+ ab - - + + ... diff --git a/test/test_files/6HB6.yml b/test/test_files/6HB6.yml index 18984265..02bae7d8 100644 --- a/test/test_files/6HB6.yml +++ b/test/test_files/6HB6.yml @@ -1,6 +1,6 @@ # Leading comment line spaces are # neither content nor indentation. - + Not indented: By one space: | By four diff --git a/test/test_files/7A4E.yml b/test/test_files/7A4E.yml index 03f9600f..1cd6c981 100644 --- a/test/test_files/7A4E.yml +++ b/test/test_files/7A4E.yml @@ -1,5 +1,5 @@ " 1st non-empty - 2nd non-empty + 2nd non-empty 3rd non-empty " diff --git a/test/test_files/8G76.yml b/test/test_files/8G76.yml index e7b6cce8..58284ae4 100644 --- a/test/test_files/8G76.yml +++ b/test/test_files/8G76.yml @@ -1,5 +1,5 @@ # Comment - + \ diff --git a/test/test_files/9YRD.yml b/test/test_files/9YRD.yml index 9a0271fd..679e89a4 100644 --- a/test/test_files/9YRD.yml +++ b/test/test_files/9YRD.yml @@ -1,5 +1,5 @@ a -b +b c d diff --git a/test/test_files/DWX9.yml b/test/test_files/DWX9.yml index b7b2a8f2..58747693 100644 --- a/test/test_files/DWX9.yml +++ b/test/test_files/DWX9.yml @@ -1,9 +1,9 @@ | - - + + literal - - + + text # Comment diff --git a/test/test_files/F8F9.yml b/test/test_files/F8F9.yml index 6a240b38..848092b9 100644 --- a/test/test_files/F8F9.yml +++ b/test/test_files/F8F9.yml @@ -2,13 +2,13 @@ # Comments: strip: |- # text - + # Clip # comments: clip: | # text - + # Keep # comments: diff --git a/test/test_files/H2RW.yml b/test/test_files/H2RW.yml index 18f97da2..f31c57de 100644 --- a/test/test_files/H2RW.yml +++ b/test/test_files/H2RW.yml @@ -1,13 +1,13 @@ foo: 1 bar: 2 - + text: | a - + b c - + d diff --git a/test/test_files/HS5T.yml b/test/test_files/HS5T.yml index 7a9b345a..49278b5f 100644 --- a/test/test_files/HS5T.yml +++ b/test/test_files/HS5T.yml @@ -1,5 +1,5 @@ 1st non-empty - 2nd non-empty + 2nd non-empty 3rd non-empty diff --git a/test/test_files/K527.yml b/test/test_files/K527.yml index 880f5461..eeae40d0 100644 --- a/test/test_files/K527.yml +++ b/test/test_files/K527.yml @@ -1,7 +1,7 @@ >- trimmed - - + + as space diff --git a/test/test_files/M29M.yml b/test/test_files/M29M.yml index b37679cc..2410715d 100644 --- a/test/test_files/M29M.yml +++ b/test/test_files/M29M.yml @@ -1,9 +1,9 @@ a: | ab - + cd ef - + ... diff --git a/test/test_files/MJS9.yml b/test/test_files/MJS9.yml index 0b9b1361..10bbe816 100644 --- a/test/test_files/MJS9.yml +++ b/test/test_files/MJS9.yml @@ -1,6 +1,6 @@ > - foo - + foo + bar baz diff --git a/test/test_files/MYW6.yml b/test/test_files/MYW6.yml index e2c232c2..21d3f602 100644 --- a/test/test_files/MYW6.yml +++ b/test/test_files/MYW6.yml @@ -1,6 +1,6 @@ |- ab - - + + ... diff --git a/test/test_files/NP9H.yml b/test/test_files/NP9H.yml index 51d49ea9..748cb671 100644 --- a/test/test_files/NP9H.yml +++ b/test/test_files/NP9H.yml @@ -1,6 +1,6 @@ -"folded +"folded to a space, - + to a line feed, or \ \ non-content" diff --git a/test/test_files/PRH3.yml b/test/test_files/PRH3.yml index 7f7eae96..4ddbb6c4 100644 --- a/test/test_files/PRH3.yml +++ b/test/test_files/PRH3.yml @@ -1,5 +1,5 @@ ' 1st non-empty - 2nd non-empty + 2nd non-empty 3rd non-empty ' diff --git a/test/test_files/R4YG.yml b/test/test_files/R4YG.yml index b7c38fe0..8334dd28 100644 --- a/test/test_files/R4YG.yml +++ b/test/test_files/R4YG.yml @@ -1,8 +1,8 @@ - | detected - > - - + + # detected - |1 explicit diff --git a/test/test_files/TL85.yml b/test/test_files/TL85.yml index 0cda09e0..43c43d45 100644 --- a/test/test_files/TL85.yml +++ b/test/test_files/TL85.yml @@ -1,6 +1,6 @@ " - foo - + foo + bar baz diff --git a/test/test_files/TS54.yml b/test/test_files/TS54.yml index 2b7f9f24..11e0d39c 100644 --- a/test/test_files/TS54.yml +++ b/test/test_files/TS54.yml @@ -1,7 +1,7 @@ > ab cd - + ef