diff --git a/test-harness/scenarios/custom-ref-resolver.scenario b/test-harness/scenarios/custom-ref-resolver.scenario index 5b4393200..e3501cebc 100644 --- a/test-harness/scenarios/custom-ref-resolver.scenario +++ b/test-harness/scenarios/custom-ref-resolver.scenario @@ -12,4 +12,4 @@ rules: ====command==== {bin} lint {document} --ruleset {asset:ruleset} --resolver ./resolvers/custom.js --ignore-unknown-format ====stdout==== -No results with a severity of 'warn' or higher found! +No results with a severity of 'error' or higher found! diff --git a/test-harness/scenarios/help-no-document.scenario b/test-harness/scenarios/help-no-document.scenario index 6d6ac3359..cde7525d0 100644 --- a/test-harness/scenarios/help-no-document.scenario +++ b/test-harness/scenarios/help-no-document.scenario @@ -19,7 +19,7 @@ Options: --resolver path to custom json-ref-resolver instance [string] --ruleset, -r path/URL to a ruleset file [string] --skip-rule, -s ignore certain rules if they are causing trouble [string] - --fail-severity, -F results of this level or above will trigger a failure exit code [string] [choices: "error", "warn", "info", "hint"] [default: "warn"] + --fail-severity, -F results of this level or above will trigger a failure exit code [string] [choices: "error", "warn", "info", "hint"] [default: "error"] --display-only-failures, -D only output results equal to or greater than --fail-severity [boolean] [default: false] --ignore-unknown-format do not warn about unmatched formats [boolean] [default: false] --verbose, -v increase verbosity [boolean] diff --git a/test-harness/scenarios/ignored-unrecognized-format.scenario b/test-harness/scenarios/ignored-unrecognized-format.scenario index e0f4bd6c2..a93011d21 100644 --- a/test-harness/scenarios/ignored-unrecognized-format.scenario +++ b/test-harness/scenarios/ignored-unrecognized-format.scenario @@ -6,4 +6,4 @@ info: {} ====command==== {bin} lint {document} --ignore-unknown-format ====stdout==== -No results with a severity of 'warn' or higher found! +No results with a severity of 'error' or higher found! diff --git a/test-harness/scenarios/parameter-description-links.oas3.scenario b/test-harness/scenarios/parameter-description-links.oas3.scenario index b5c3e7fe5..b5dc956c7 100644 --- a/test-harness/scenarios/parameter-description-links.oas3.scenario +++ b/test-harness/scenarios/parameter-description-links.oas3.scenario @@ -25,4 +25,4 @@ components: {bin} lint --ruleset ./rulesets/parameter-description.oas3.yaml {document} ====stdout==== OpenAPI 3.x detected -No results with a severity of 'warn' or higher found! +No results with a severity of 'error' or higher found! diff --git a/test-harness/scenarios/valid-no-errors.oas2.scenario b/test-harness/scenarios/valid-no-errors.oas2.scenario index 0a35fd214..f710a6ce9 100644 --- a/test-harness/scenarios/valid-no-errors.oas2.scenario +++ b/test-harness/scenarios/valid-no-errors.oas2.scenario @@ -18,4 +18,4 @@ tags: {bin} lint {document} ====stdout==== OpenAPI 2.0 (Swagger) detected -No results with a severity of 'warn' or higher found! +No results with a severity of 'error' or higher found!