Skip to content

Commit a59ac81

Browse files
committed
Auto merge of #11715 - Enyium:amend-mdman-tests, r=weihanglo
Amend `mdman` tests. - Revert most of changes to expected test output from commit 2a4ec9f. - Keep later changes to expected test output from commit 0263ef4. - Change test input that's converted to trigger similar output as previously. Following [this](#11646 (comment)) comment from `@ehuss.`
2 parents bd8c8e7 + 36d3a5e commit a59ac81

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

crates/mdman/tests/compare/expected/formatting.1

+8-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,14 @@ With a second paragraph inside it
6666
.sp
6767
.RS 4
6868
\h'-04'\(bu\h'+02'Milk
69-
5. Don\[cq]t start at one.
70-
6. tamarind
69+
.sp
70+
.RS 4
71+
\h'-04' 5.\h'+01'Don\[cq]t start at one.
72+
.RE
73+
.sp
74+
.RS 4
75+
\h'-04' 6.\h'+01'tamarind
76+
.RE
7177
.RE
7278
.RE
7379
.sp

crates/mdman/tests/compare/expected/formatting.md

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ turned dear crud grizzly strenuously.
5050
* Eggs
5151

5252
* Milk
53+
5354
5. Don't start at one.
5455
6. tamarind
5556

crates/mdman/tests/compare/expected/formatting.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ LISTS
4343

4444
o Eggs
4545

46-
o Milk 5. Don’t start at one. 6. tamarind
46+
o Milk
47+
48+
5. Don’t start at one.
49+
50+
6. tamarind
4751

4852
2. Second element
4953

crates/mdman/tests/compare/formatting.md

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ turned dear crud grizzly strenuously.
5050
* Eggs
5151

5252
* Milk
53+
5354
5. Don't start at one.
5455
6. tamarind
5556

0 commit comments

Comments
 (0)