Fix some case.

This commit is contained in:
jcamiel 2023-09-29 13:28:07 +02:00
parent 8d9291ac64
commit f0c1982ced
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
4 changed files with 4 additions and 5 deletions

View File

@ -117,7 +117,7 @@ fn log_request(request: Request) {
#[cfg(target_family = "windows")]
pub fn pre_entry(_: Entry) -> bool {
eprintln!("interactive not supported yet in windows!");
eprintln!("Interactive not supported yet in windows!");
true
}

View File

@ -88,7 +88,7 @@ pub fn connect_to() -> clap::Arg {
pub fn continue_on_error() -> clap::Arg {
clap::Arg::new("continue_on_error")
.long("continue-on-error")
.help("Continue executing requests even an error has occurs")
.help("Continue executing requests even if an error occurs")
.action(ArgAction::SetTrue)
}
@ -284,7 +284,7 @@ pub fn report_junit() -> clap::Arg {
clap::Arg::new("junit")
.long("report-junit")
.value_name("FILE")
.help("Write a Junit XML report to FILE")
.help("Write a JUnit XML report to FILE")
.num_args(1)
}

View File

@ -24,7 +24,6 @@ use std::io::Write;
/// Creates/Append a Tap report from a list of `testcases`
pub fn write_report(filename: &str, new_testcases: &[Testcase]) -> Result<(), Error> {
eprintln!("write tap report {filename}");
let mut testcases = vec![];
let existing_testcases = parse_tap_file(filename)?;

View File

@ -158,7 +158,7 @@ impl RunnerOptionsBuilder {
self
}
/// Sets stopping or continuing executing requests to the end of the Hurl file even when an error occurs.
/// Sets stopping or continuing executing requests to the end of the Hurl file even when an error occurs.
///
/// By default, Hurl exits after an error in the HTTP response. Note that this option does
/// not affect the behavior with multiple input Hurl files.