Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Enyium committed Feb 12, 2023
1 parent 2dfa027 commit 7faf737
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 18 deletions.
10 changes: 2 additions & 8 deletions crates/mdman/tests/compare/expected/formatting.1
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,8 @@ With a second paragraph inside it
.sp
.RS 4
\h'-04'\(bu\h'+02'Milk
.sp
.RS 4
\h'-04' 5.\h'+01'Don't start at one.
.RE
.sp
.RS 4
\h'-04' 6.\h'+01'tamarind
.RE
5. Don\[cq]t start at one.
6. tamarind
.RE
.RE
.sp
Expand Down
6 changes: 1 addition & 5 deletions crates/mdman/tests/compare/expected/formatting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ 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
4 changes: 2 additions & 2 deletions crates/mdman/tests/compare/expected/options.1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ my\-command \- A brief description
.br
\fBmy\-command\fR (\fB\-m\fR | \fB\-M\fR) [\fIoldbranch\fR] \fInewbranch\fR
.br
\fBmy\-command\fR (\fB\-d\fR | \fB\-D\fR) [\fB\-r\fR] \fIbranchname\fR\&...
\fBmy\-command\fR (\fB\-d\fR | \fB\-D\fR) [\fB\-r\fR] \fIbranchname\fR\[u2026]
.SH "DESCRIPTION"
A description of the command.
.sp
Expand Down Expand Up @@ -49,7 +49,7 @@ Demo \fIemphasis\fR, \fBstrong\fR, ~~strike~~
This has multiple flags.
.RE
.sp
\fInamed\-arg...\fR
\fInamed\-arg\[u2026]\fR
.RS 4
A named argument.
.RE
Expand Down
2 changes: 1 addition & 1 deletion crates/mdman/tests/compare/expected/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ A description of the command.
<dd class="option-desc">This has multiple flags.</dd>


<dt class="option-term" id="option-options-named-arg..."><a class="option-anchor" href="#option-options-named-arg..."></a><em>named-arg...</em></dt>
<dt class="option-term" id="option-options-named-arg"><a class="option-anchor" href="#option-options-named-arg"></a><em>named-arg</em></dt>
<dd class="option-desc">A named argument.</dd>


Expand Down
4 changes: 2 additions & 2 deletions crates/mdman/tests/compare/expected/options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SYNOPSIS
my-command [--abc | --xyz] name
my-command [-f file]
my-command (-m | -M) [oldbranch] newbranch
my-command (-d | -D) [-r] branchname...
my-command (-d | -D) [-r] branchname

DESCRIPTION
A description of the command.
Expand All @@ -29,7 +29,7 @@ OPTIONS
-p spec, --package spec
This has multiple flags.

named-arg...
named-arg
A named argument.

Common Options
Expand Down

0 comments on commit 7faf737

Please sign in to comment.