Skip to content

Commit

Permalink
Auto merge of #11715 - Enyium:amend-mdman-tests, r=weihanglo
Browse files Browse the repository at this point in the history
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.`
  • Loading branch information
bors committed Feb 15, 2023
2 parents bd8c8e7 + 36d3a5e commit a59ac81
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
10 changes: 8 additions & 2 deletions crates/mdman/tests/compare/expected/formatting.1
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,14 @@ With a second paragraph inside it
.sp
.RS 4
\h'-04'\(bu\h'+02'Milk
5. Don\[cq]t start at one.
6. tamarind
.sp
.RS 4
\h'-04' 5.\h'+01'Don\[cq]t start at one.
.RE
.sp
.RS 4
\h'-04' 6.\h'+01'tamarind
.RE
.RE
.RE
.sp
Expand Down
1 change: 1 addition & 0 deletions crates/mdman/tests/compare/expected/formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ turned dear crud grizzly strenuously.
* Eggs

* Milk

5. Don't start at one.
6. tamarind

Expand Down
6 changes: 5 additions & 1 deletion crates/mdman/tests/compare/expected/formatting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ LISTS

o Eggs

o Milk 5. Don’t start at one. 6. tamarind
o Milk

5. Don’t start at one.

6. tamarind

2. Second element

Expand Down
1 change: 1 addition & 0 deletions crates/mdman/tests/compare/formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ turned dear crud grizzly strenuously.
* Eggs

* Milk

5. Don't start at one.
6. tamarind

Expand Down

0 comments on commit a59ac81

Please sign in to comment.