diff --git a/src/test/java/de/retest/recheck/cli/subcommands/CommitIT.java b/src/test/java/de/retest/recheck/cli/subcommands/CommitIT.java index 3b29678c..fb04fa0f 100644 --- a/src/test/java/de/retest/recheck/cli/subcommands/CommitIT.java +++ b/src/test/java/de/retest/recheck/cli/subcommands/CommitIT.java @@ -29,10 +29,10 @@ public class CommitIT { public void commit_without_argument_should_return_the_usage_message() { final String expectedMessage = "Usage: commit [--all] [--exclude=]... \n" + "Accept specified differences of given test report.\n" - + " Path to a test report file (.report extension). If the\n" - + " test report is not in the project directory, please\n" - + " specify the absolute path, otherwise a relative path\n" - + " is sufficient.\n" + + " Path to a test report file (.report extension). If\n" + + " the test report is not in the project directory,\n" + + " please specify the absolute path, otherwise a\n" + + " relative path is sufficient.\n" + " --all Accept all differences from the given test report.\n" + " --exclude= Filter(s) to exclude changes from the diff."; assertThat( new CommandLine( new Commit() ).getUsageMessage() ).isEqualToIgnoringNewLines( expectedMessage ); diff --git a/src/test/java/de/retest/recheck/cli/subcommands/DiffIT.java b/src/test/java/de/retest/recheck/cli/subcommands/DiffIT.java index e9670075..82ab98c6 100644 --- a/src/test/java/de/retest/recheck/cli/subcommands/DiffIT.java +++ b/src/test/java/de/retest/recheck/cli/subcommands/DiffIT.java @@ -30,10 +30,10 @@ public class DiffIT { public void diff_without_argument_should_return_the_usage_message() { final String expected = "Usage: diff [--exclude=]... \n" + "Display differences of given test report.\n" - + " Path to a test report file (.report extension). If the\n" - + " test report is not in the project directory, please\n" - + " specify the absolute path, otherwise a relative path\n" - + " is sufficient.\n" + + " Path to a test report file (.report extension). If\n" + + " the test report is not in the project directory,\n" + + " please specify the absolute path, otherwise a\n" + + " relative path is sufficient.\n" + " --exclude= Filter(s) to exclude changes from the diff."; assertThat( new CommandLine( new Diff() ).getUsageMessage() ).isEqualToIgnoringNewLines( expected ); } diff --git a/src/test/java/de/retest/recheck/cli/subcommands/IgnoreIT.java b/src/test/java/de/retest/recheck/cli/subcommands/IgnoreIT.java index 48cec56a..7bbfb1ce 100644 --- a/src/test/java/de/retest/recheck/cli/subcommands/IgnoreIT.java +++ b/src/test/java/de/retest/recheck/cli/subcommands/IgnoreIT.java @@ -30,11 +30,12 @@ public class IgnoreIT { public void ignore_without_argument_should_return_the_usage_message() { final String expected = "Usage: ignore [--all] [--list] []\n" + "Ignore specified differences of given test report.\n" - + " [] Path to a test report file (.report extension). If the test\n" - + " report is not in the project directory, please specify the\n" - + " absolute path, otherwise a relative path is sufficient.\n" + + " [] Path to a test report file (.report extension). If the\n" + + " test report is not in the project directory, please\n" + + " specify the absolute path, otherwise a relative path\n" + + " is sufficient.\n" + " --all Ignore all differences from the given test report.\n" - + " --list List all ignored elements.\n"; + + " --list List all ignored elements."; assertThat( new CommandLine( new Ignore() ).getUsageMessage() ).isEqualToIgnoringNewLines( expected ); }