Skip to content

Commit

Permalink
[#1930] fix failing tests for testEndOfOptionsWithoutOptions, testNam…
Browse files Browse the repository at this point in the history
…elessCommand, and testHiddenOptions
  • Loading branch information
MikeTheSnowman authored and remkop committed Jan 27, 2023
1 parent c7853dc commit 66279cc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
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

0 comments on commit 66279cc

Please sign in to comment.