Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#1930] fix 3 failing tests in ManPageGeneratorTest #1940

Merged
merged 1 commit into from
Jan 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ class MyApp {
assertEquals(expected, sw.toString());
}

@Ignore("[#1930] - needs test fixes for #1896 changes")
@Test
public void testHiddenOptions() throws IOException {

Expand Down Expand Up @@ -288,7 +287,6 @@ private String readAndClose(InputStream in) throws IOException {
}
}

@Ignore("[#1930] - needs test fixes for #1896 changes")
@Test
public void testEndOfOptionsWithoutOptions() throws IOException {

Expand Down Expand Up @@ -458,7 +456,6 @@ public Integer call() throws Exception {
}
}

@Ignore("[#1930] - needs test fixes for #1896 changes")
@Test
public void testNamelessCommand() throws IOException {
File outdir = new File(System.getProperty("java.io.tmpdir"), "manpage" + System.currentTimeMillis());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// tag::picocli-generated-full-manpage[]
// tag::picocli-generated-man-section-header[]
:doctype: manpage
:revnumber:
:revnumber:
:manmanual: <main class> Manual
:mansource:
:mansource:
:man-linkstyle: pass:[blue R < >]
= <main class>(1)

Expand All @@ -12,7 +12,7 @@
// tag::picocli-generated-man-section-name[]
== Name

<main class> -
<main class> -

// end::picocli-generated-man-section-name[]

Expand All @@ -31,13 +31,14 @@
// end::picocli-generated-man-section-description[]

// tag::picocli-generated-man-section-options[]

// end::picocli-generated-man-section-options[]

// tag::picocli-generated-man-section-arguments[]
== Arguments

_<file>_::


// end::picocli-generated-man-section-arguments[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ This app does great things.
// end::picocli-generated-man-section-description[]

// tag::picocli-generated-man-section-options[]
== Options

*--*::
This option can be used to separate command-line options from the list of positional parameters.

// end::picocli-generated-man-section-options[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ This app does great things.
// end::picocli-generated-man-section-description[]

// tag::picocli-generated-man-section-options[]

// end::picocli-generated-man-section-options[]

// tag::picocli-generated-man-section-arguments[]
Expand Down